Skip to content
This repository has been archived by the owner on Jul 2, 2021. It is now read-only.

Commit

Permalink
Checking permissions sequentially re-enabled
Browse files Browse the repository at this point in the history
  • Loading branch information
Bartosz Lipinski committed Dec 15, 2015
1 parent f1f85a9 commit dba8395
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion dexter/src/main/java/com/karumi/dexter/DexterInstance.java
Original file line number Diff line number Diff line change
Expand Up @@ -247,8 +247,9 @@ private void onPermissionsChecked(Collection<String> permissions) {
activity.finish();
isRequestingPermission.set(false);
rationaleAccepted.set(false);
listener.onPermissionsChecked(multiplePermissionsReport);
MultiplePermissionsListener currentListener = listener;
listener = EMPTY_LISTENER;
currentListener.onPermissionsChecked(multiplePermissionsReport);
}
}

Expand Down

0 comments on commit dba8395

Please sign in to comment.