Modern Apps git

MAOS.git

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

MAOS.git / patches / sensor_optout_packages_apps_Protips.patch

sensor_optout_packages_apps_Protips.patch13 lines · 552 BRaw
1diff --git a/AndroidManifest.xml b/AndroidManifest.xml
2index f8a512a..d4d65a9 100644
3--- a/AndroidManifest.xml
4+++ b/AndroidManifest.xml
5@@ -6,6 +6,8 @@
6 android:versionName="1.0">
7
8 <uses-sdk android:minSdkVersion="3"/>
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:label="@string/widget_name"
12 android:icon="@drawable/icon">
13 <receiver android:name=".ProtipWidget"