Modern Apps git

MAOS.git

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

MAOS.git / patches / sensor_optout_packages_services_Telephony.patch

sensor_optout_packages_services_Telephony.patch13 lines · 666 BRaw
1diff --git a/AndroidManifest.xml b/AndroidManifest.xml
2index 40fd77c50..c8965cbac 100644
3--- a/AndroidManifest.xml
4+++ b/AndroidManifest.xml
5@@ -201,6 +201,8 @@
6 <!-- Needed to send SMS/MMS over different transport by the Default Messaging App. -->
7 <uses-permission android:name="android.permission.BIND_ALTERNATIVE_MESSAGE_TRANSPORT_SERVICE"/>
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 android:name="PhoneApp"
12 android:persistent="true"
13 android:label="@string/phoneAppLabel"