Modern Apps git

MAOS.git

Public
git clone https://git.maproj.org/MAOS.git
main ▾

MAOS.git / patches / sensor_optout_packages_apps_OnDeviceAppPrediction.patch

sensor_optout_packages_apps_OnDeviceAppPrediction.patch13 lines · 499 BRaw
1diff --git a/AndroidManifest.xml b/AndroidManifest.xml
2index 058f991..2712f1d 100644
3--- a/AndroidManifest.xml
4+++ b/AndroidManifest.xml
5@@ -19,6 +19,8 @@
6
7 <uses-permission android:name="android.permission.QUERY_ALL_PACKAGES" />
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 <service
13 android:name=".PredictionService"