diff --git a/src/androidTest/java/de/dennisguse/opentracks/TestUtil.java b/src/androidTest/java/de/dennisguse/opentracks/TestUtil.java index c46115694e..947c6084a2 100644 --- a/src/androidTest/java/de/dennisguse/opentracks/TestUtil.java +++ b/src/androidTest/java/de/dennisguse/opentracks/TestUtil.java @@ -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); } }