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

Commit

Permalink
Fixed a crash bug in Native Test app.
Browse files Browse the repository at this point in the history
  • Loading branch information
tompaana committed Mar 1, 2016
1 parent a86de96 commit 392b6cd
Showing 1 changed file with 4 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -238,8 +238,10 @@ public void onRequestPermissionsResult(int requestCode, String[] permissions, in
Log.e(TAG, "onRequestPermissionsResult: Permission denied");
}

mAlertDialog.dismiss();
mAlertDialog = null;
if (mAlertDialog != null) {
mAlertDialog.dismiss();
mAlertDialog = null;
}
}
}

Expand Down

0 comments on commit 392b6cd

Please sign in to comment.