MAOS.git
Publicgit clone https://git.maproj.org/MAOS.gitMAOS.git / patches / sensor_optout_packages_services_Iwlan.patch
sensor_optout_packages_services_Iwlan.patch13 lines · 568 BRaw
| 1 | diff --git a/AndroidManifest.xml b/AndroidManifest.xml |
| 2 | index 8edca71..0ebdc3f 100644 |
| 3 | --- a/AndroidManifest.xml |
| 4 | +++ b/AndroidManifest.xml |
| 5 | @@ -20,6 +20,8 @@ |
| 6 | android:label="Permission to restart Iwlan" |
| 7 | android:protectionLevel="signature|privileged" /> |
| 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:directBootAware="true" |
| 13 | android:defaultToDeviceProtectedStorage="true"> |