Modern Apps git

MAOS.git

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

MAOS.git / patches / sensor_optout_packages_modules_ModuleMetadata.patch

sensor_optout_packages_modules_ModuleMetadata.patch13 lines · 637 BRaw
1diff --git a/AndroidManifest.xml b/AndroidManifest.xml
2index 918fc63..3dec653 100644
3--- a/AndroidManifest.xml
4+++ b/AndroidManifest.xml
5@@ -15,6 +15,8 @@
6 -->
7 <manifest xmlns:android="http://schemas.android.com/apk/res/android"
8 package="com.android.modulemetadata">
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=".ModuleMetadataApplication"
12 android:label="@string/app_name">
13 <meta-data android:name="android.content.pm.MODULE_METADATA"