Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Disable access background location #1270

Merged
merged 1 commit into from
Oct 18, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions onebusaway-android/src/main/AndroidManifest.xml
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,6 @@
<uses-permission android:name="android.permission.ACCESS_FINE_LOCATION"/>
<uses-permission android:name="android.permission.FOREGROUND_SERVICE_LOCATION" />
<uses-permission android:name="android.permission.ACCESS_NETWORK_STATE"/>
<uses-permission android:name="android.permission.ACCESS_BACKGROUND_LOCATION" />
<uses-permission android:name="android.permission.RECEIVE_BOOT_COMPLETED" />
<uses-permission android:name="android.permission.WAKE_LOCK" />
<uses-permission android:name="android.permission.VIBRATE" />
Expand All @@ -38,10 +37,11 @@
<uses-permission android:name="android.permission.FOREGROUND_SERVICE" />
<uses-permission android:name="android.permission.FOREGROUND_SERVICE_SPECIAL_USE" />

<!-- Permission request for activity recognition is disabled because the related feature has been turned off.
<!-- Permission request for activity recognition and background location is disabled because the related feature has been turned off.
See issue #1240 for more details: https://github.com/OneBusAway/onebusaway-android/issues/1240-->
<!-- ACTIVITY_RECOGNITION API 28 and lower -->
<!-- <uses-permission android:name="com.google.android.gms.permission.ACTIVITY_RECOGNITION" />-->
<!-- <uses-permission android:name="android.permission.ACCESS_BACKGROUND_LOCATION" />-->
<!-- ACTIVITY_RECOGNITION API 29 and higher -->
<!-- <uses-permission android:name="android.permission.ACTIVITY_RECOGNITION" />-->
<!--To enable checkBatteryOptimizations feature, also uncomment checkBatteryOptimizations() in
Expand Down
Loading