MAOS.git
Publicgit clone https://git.maproj.org/MAOS.gitMAOS.git / patches / sensor_optout_packages_apps_CarrierConfig2.patch
sensor_optout_packages_apps_CarrierConfig2.patch13 lines · 612 BRaw
| 1 | diff --git a/AndroidManifest.xml b/AndroidManifest.xml |
| 2 | index 570ca6c..50f5c6e 100644 |
| 3 | --- a/AndroidManifest.xml |
| 4 | +++ b/AndroidManifest.xml |
| 5 | @@ -9,6 +9,8 @@ |
| 6 | <uses-permission android:name="android.permission.READ_PRIVILEGED_PHONE_STATE" /> |
| 7 | <uses-permission android:name="android.permission.WRITE_APN_SETTINGS" /> |
| 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:label="CarrierConfig2" |
| 13 | android:defaultToDeviceProtectedStorage="true" |