Modern Apps git

MAOS.git

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

MAOS.git / patches / gmscompat.patch

gmscompat.patch19 lines · 1.0 KiBRaw
1diff --git a/AndroidManifest.xml b/AndroidManifest.xml
2index 676a024..3c2844c 100644
3--- a/AndroidManifest.xml
4+++ b/AndroidManifest.xml
5@@ -10,10 +10,13 @@
6 <uses-permission android:name="android.permission.POST_NOTIFICATIONS" />
7 <!-- needed to be able to create TempServiceBinding to any package-->
8 <uses-permission android:name="android.permission.QUERY_ALL_PACKAGES" />
9- <uses-permission android:name="app.grapheneos.logviewer.SHOW_ERROR_REPORT" />
10+ <uses-permission android:name="com.vayunmathur.logviewer.SHOW_ERROR_REPORT" />
11 <!-- needed for config fragments for updating permissions for Android Auto, etc. -->
12 <uses-permission android:name="android.permission.UPDATE_AND_INVALIDATE_PERMISSION_STATE" />
13
14+ <!-- MAOS: opt out of the GrapheneOS Sensors permission (never requested nor granted). -->
15+ <uses-permission android:name="com.vayunmathur.permission.SENSORS_OPTOUT" />
16+
17 <permission
18 android:name="app.grapheneos.gmscompat.SHOW_UI"
19 android:protectionLevel="signature|privileged" />