Modern-Apps.git
Publicgit clone https://git.maproj.org/Modern-Apps.gitModern-Apps.git / code / src / main / AndroidManifest.xml
AndroidManifest.xml50 lines · 2.5 KiBRaw
| 1 | <?xml version="1.0" encoding="utf-8"?> |
| 2 | <manifest xmlns:tools="http://schemas.android.com/tools" |
| 3 | xmlns:android="http://schemas.android.com/apk/res/android"> |
| 4 | |
| 5 | <!-- MAOS: opt out of the GrapheneOS Sensors permission (OTHER_SENSORS). --> |
| 6 | <!-- This app uses no motion/environment sensors; MAOS withholds the --> |
| 7 | <!-- Sensors permission at install instead of auto-granting it. --> |
| 8 | <uses-permission android:name="com.vayunmathur.permission.SENSORS_OPTOUT" /> |
| 9 | |
| 10 | <!-- GitPage offers HTTPS cloning (GitRepo.clone); that needs sockets. --> |
| 11 | <uses-permission android:name="android.permission.INTERNET" /> |
| 12 | |
| 13 | <!-- Library code reachable from this app posts notifications (MaNotifications). --> |
| 14 | <uses-permission android:name="android.permission.POST_NOTIFICATIONS" /> |
| 15 | |
| 16 | <!-- All-files access is this app's core function: a code editor that browses |
| 17 | arbitrary directories (FolderBrowser), edits real files in place and runs |
| 18 | git (jgit) over java.io.File trees, gated at runtime by |
| 19 | PermissionRequirement.AllFiles. There is no scoped-storage equivalent for |
| 20 | arbitrary-path editing; same treatment as the files app. --> |
| 21 | <uses-permission android:name="android.permission.MANAGE_EXTERNAL_STORAGE" |
| 22 | tools:ignore="AllFilesAccessPolicy,ScopedStorage" /> |
| 23 | |
| 24 | <application |
| 25 | android:allowBackup="true" |
| 26 | android:dataExtractionRules="@xml/data_extraction_rules" |
| 27 | android:icon="@mipmap/ic_launcher" |
| 28 | android:label="@string/app_name" |
| 29 | android:roundIcon="@mipmap/ic_launcher" |
| 30 | android:supportsRtl="true" |
| 31 | android:theme="@style/Theme.General"> |
| 32 | <activity |
| 33 | android:configChanges="mcc|mnc|colorMode|density|fontScale|fontWeightAdjustment|keyboard|keyboardHidden|layoutDirection|navigation|orientation|screenLayout|screenSize|smallestScreenSize|touchscreen|uiMode" |
| 34 | android:name=".MainActivity" |
| 35 | android:exported="true" |
| 36 | android:theme="@style/Theme.General"> |
| 37 | <intent-filter> |
| 38 | <action android:name="android.intent.action.MAIN" /> |
| 39 | <category android:name="android.intent.category.LAUNCHER" /> |
| 40 | </intent-filter> |
| 41 | <intent-filter> |
| 42 | <action android:name="android.intent.action.VIEW" /> |
| 43 | <action android:name="android.intent.action.EDIT" /> |
| 44 | <category android:name="android.intent.category.DEFAULT" /> |
| 45 | <data android:mimeType="text/*" /> |
| 46 | </intent-filter> |
| 47 | </activity> |
| 48 | </application> |
| 49 | |
| 50 | </manifest> |