MAOS.git
Publicgit clone https://git.maproj.org/MAOS.gitMAOS.git / patches / sensor_optout_packages_apps_DeviceDiagnostics.patch
sensor_optout_packages_apps_DeviceDiagnostics.patch13 lines · 633 BRaw
| 1 | diff --git a/app/src/main/AndroidManifest.xml b/app/src/main/AndroidManifest.xml |
| 2 | index d0caae6..c1a211d 100644 |
| 3 | --- a/app/src/main/AndroidManifest.xml |
| 4 | +++ b/app/src/main/AndroidManifest.xml |
| 5 | @@ -19,6 +19,8 @@ |
| 6 | <uses-permission android:name="android.permission.ENTER_TRADE_IN_MODE"/> |
| 7 | <uses-permission android:name="android.permission.SYSTEM_ALERT_WINDOW"/> |
| 8 | |
| 9 | + <!-- MAOS: opt out of the GrapheneOS Sensors permission (never requested nor granted). --> |
| 10 | + <uses-permission android:name="com.vayunmathur.permission.SENSORS_OPTOUT" /> |
| 11 | <application |
| 12 | android:icon="@mipmap/ic_launcher" |
| 13 | android:label="@string/app_name" |