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

Commit

Permalink
Removed the commented code from class PermissionRequester
Browse files Browse the repository at this point in the history
  • Loading branch information
nishabhatia98 committed Oct 12, 2023
1 parent a775bc7 commit 96d0b4c
Showing 1 changed file with 1 addition and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -61,11 +61,7 @@ private void requestPermission(ActivityResultCaller context, @Nullable Runnable

static {
//TODO ACCESS_BACKGROUND_LOCATION is required for API, but the permission is not properly granted. See #1653.
// if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.Q) {
// GPS_PERMISSION = List.of(Manifest.permission.ACCESS_FINE_LOCATION, Manifest.permission.ACCESS_COARSE_LOCATION, Manifest.permission.ACCESS_BACKGROUND_LOCATION);
// } else {
GPS_PERMISSION = List.of(Manifest.permission.ACCESS_FINE_LOCATION, Manifest.permission.ACCESS_COARSE_LOCATION);
// }
GPS_PERMISSION = List.of(Manifest.permission.ACCESS_FINE_LOCATION, Manifest.permission.ACCESS_COARSE_LOCATION);
}

private static final List<String> BLUETOOTH_PERMISSIONS;
Expand Down

0 comments on commit 96d0b4c

Please sign in to comment.