Skip to content

Commit

Permalink
Bugfix: request ACCESS_BACKGROUND_LOCATION fails; removing it for now.
Browse files Browse the repository at this point in the history
Introduced in 3910837

Part of #1653.
  • Loading branch information
dennisguse committed Aug 22, 2023
1 parent 4f745a9 commit 9581693
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/androidTest/java/de/dennisguse/opentracks/TestUtil.java
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,8 @@ public class TestUtil {

public static GrantPermissionRule createGrantPermissionRule() {
if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.TIRAMISU) {
return GrantPermissionRule.grant(android.Manifest.permission.ACCESS_FINE_LOCATION, Manifest.permission.ACCESS_BACKGROUND_LOCATION, android.Manifest.permission.BLUETOOTH_CONNECT, Manifest.permission.POST_NOTIFICATIONS);
return GrantPermissionRule.grant(android.Manifest.permission.ACCESS_FINE_LOCATION, android.Manifest.permission.BLUETOOTH_CONNECT, Manifest.permission.POST_NOTIFICATIONS);
}
return GrantPermissionRule.grant(android.Manifest.permission.ACCESS_FINE_LOCATION, Manifest.permission.ACCESS_BACKGROUND_LOCATION, android.Manifest.permission.BLUETOOTH_CONNECT);
return GrantPermissionRule.grant(android.Manifest.permission.ACCESS_FINE_LOCATION, android.Manifest.permission.BLUETOOTH_CONNECT);
}
}

0 comments on commit 9581693

Please sign in to comment.