MAOS.git
Publicgit clone https://git.maproj.org/MAOS.gitMAOS.git / patches / sensor_optout_packages_modules_AppSearch.patch
sensor_optout_packages_modules_AppSearch.patch13 lines · 951 BRaw
| 1 | diff --git a/apk/AndroidManifest.xml b/apk/AndroidManifest.xml |
| 2 | index 6bac0ef5..987bc4c3 100644 |
| 3 | --- a/apk/AndroidManifest.xml |
| 4 | +++ b/apk/AndroidManifest.xml |
| 5 | @@ -24,6 +24,8 @@ |
| 6 | <uses-permission android:name="android.permission.MANAGE_VIRTUAL_MACHINE" /> |
| 7 | <uses-permission android:name="android.permission.USE_RELAXED_MICRODROID_ROLLBACK_PROTECTION" /> |
| 8 | <uses-feature android:name="android.software.virtualization_framework" android:required="true" /> |
| 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" android:directBootAware="true" android:rollbackDataPolicy="retain"> |
| 12 | <!-- Only non-decreasing ROLLBACK_INDEX value is allowed. In case of security fixes, we'll |
| 13 | increase the ROLLBACK_INDEX value to prevent rolling pVM back to old versions with lower |