Skip to content

Commit

Permalink
disable access background location
Browse files Browse the repository at this point in the history
Signed-off-by: Amr Hossam <[email protected]>
  • Loading branch information
amrhossamdev authored and aaronbrethorst committed Oct 18, 2024
1 parent b1582e8 commit c38d752
Showing 1 changed file with 2 additions and 2 deletions.
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

0 comments on commit c38d752

Please sign in to comment.