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

Commit

Permalink
Reject geo permission when dialog dismissed
Browse files Browse the repository at this point in the history
  • Loading branch information
mxlius committed Sep 25, 2018
1 parent 82c6715 commit 0f2ab2e
Showing 1 changed file with 6 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -673,6 +673,12 @@ public void onClick(DialogInterface dialog, int id) {
rejectGeoRequest(checkBox.isChecked());
}
})
.setOnDismissListener(new DialogInterface.OnDismissListener() {
@Override
public void onDismiss(DialogInterface dialog) {
rejectGeoRequest(false);
}
})
.setOnCancelListener(new DialogInterface.OnCancelListener() {
@Override
public void onCancel(DialogInterface dialog) {
Expand Down

0 comments on commit 0f2ab2e

Please sign in to comment.