MAOS.git
Publicgit clone https://git.maproj.org/MAOS.gitMAOS.git / patches / sensor_optout_packages_apps_CarrierConfig.patch
sensor_optout_packages_apps_CarrierConfig.patch13 lines · 614 BRaw
| 1 | diff --git a/AndroidManifest.xml b/AndroidManifest.xml |
| 2 | index cd03659..30ce62f 100644 |
| 3 | --- a/AndroidManifest.xml |
| 4 | +++ b/AndroidManifest.xml |
| 5 | @@ -20,6 +20,8 @@ |
| 6 | package="com.android.carrierconfig"> |
| 7 | |
| 8 | <uses-permission android:name="android.permission.READ_PRIVILEGED_PHONE_STATE"/> |
| 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 android:allowBackup="false" |
| 12 | android:directBootAware="true"> |
| 13 | <service android:name=".DefaultCarrierConfigService" |