Modern Apps git

MAOS.git

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

MAOS.git / patches / sensor_optout_packages_apps_HTMLViewer.patch

sensor_optout_packages_apps_HTMLViewer.patch13 lines · 581 BRaw
1diff --git a/AndroidManifest.xml b/AndroidManifest.xml
2index f6b8db3..962ac21 100644
3--- a/AndroidManifest.xml
4+++ b/AndroidManifest.xml
5@@ -22,6 +22,8 @@
6 package="com.android.htmlviewer">
7 <original-package android:name="com.android.htmlviewer"/>
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:label="@string/app_label"
12 android:supportsRtl="true">
13 <activity android:name="HTMLViewerActivity"