Skip to content

Commit

Permalink
Update PermissionActivity.java
Browse files Browse the repository at this point in the history
  • Loading branch information
FatihUtkuKara committed Jul 22, 2024
1 parent a6fb37c commit c003130
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ protected void onCreate(@Nullable Bundle savedInstanceState) {
boolean accessCoarseLocationPermission = ContextCompat.checkSelfPermission(this,
Manifest.permission.ACCESS_COARSE_LOCATION) == PackageManager.PERMISSION_GRANTED;

if (!(accessFineLocationPermission && accessCoarseLocationPermission)) {
if ((!accessFineLocationPermission) || (!accessCoarseLocationPermission)) {
if (isLocationPopUpValid) {
showLocationPermissionPopUp();
} else {
Expand Down

0 comments on commit c003130

Please sign in to comment.