Skip to content

Commit

Permalink
Fixed bug in alternative constructor
Browse files Browse the repository at this point in the history
  • Loading branch information
thedumbtechguy committed Mar 23, 2015
1 parent d26c153 commit 9c32049
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,7 @@ public FacebookSocialNetwork(Fragment fragment, ArrayList<String> permissions) {

public FacebookSocialNetwork(Fragment fragment, Context context, ArrayList<String> permissions) {
super(fragment, context);
String applicationID = Utility.getMetadataApplicationId(fragment.getActivity());
String applicationID = Utility.getMetadataApplicationId(context);

if (applicationID == null) {
throw new IllegalStateException("applicationID can't be null\n" +
Expand Down

0 comments on commit 9c32049

Please sign in to comment.