Modern Apps git

MAOS.git

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

MAOS.git / patches / sensor_optout_packages_apps_SecureElement.patch

sensor_optout_packages_apps_SecureElement.patch13 lines · 673 BRaw
1diff --git a/AndroidManifest.xml b/AndroidManifest.xml
2index 9e3a75b..45ebe62 100755
3--- a/AndroidManifest.xml
4+++ b/AndroidManifest.xml
5@@ -5,6 +5,8 @@
6 android:sharedUserId="android.uid.se">
7 <uses-permission android:name="android.permission.INTERACT_ACROSS_USERS_FULL"/>
8 <uses-permission android:name="android.permission.QUERY_ALL_PACKAGES"/>
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:name=".SEApplication"
12 android:label="SecureElementApplication"
13 android:persistent="true"