Modern-Apps.git
Publicgit clone https://git.maproj.org/Modern-Apps.gitModern-Apps.git / files / src / main / AndroidManifest.xml
AndroidManifest.xml117 lines · 5.6 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 | <!-- Offline app (#884): androidx.work merges in ACCESS_NETWORK_STATE, which nothing here uses. --> |
| 6 | <!-- MAOS: opt out of the GrapheneOS Sensors permission (OTHER_SENSORS). --> |
| 7 | <!-- This app uses no motion/environment sensors; MAOS withholds the --> |
| 8 | <!-- Sensors permission at install instead of auto-granting it. --> |
| 9 | <uses-permission android:name="com.vayunmathur.permission.SENSORS_OPTOUT" /> |
| 10 | |
| 11 | <uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" tools:node="remove" /> |
| 12 | |
| 13 | <uses-permission android:name="android.permission.MANAGE_EXTERNAL_STORAGE" |
| 14 | tools:ignore="AllFilesAccessPolicy,ScopedStorage" /> |
| 15 | <uses-permission android:name="android.permission.POST_NOTIFICATIONS" /> |
| 16 | <uses-permission android:name="android.permission.REQUEST_INSTALL_PACKAGES" /> |
| 17 | <uses-permission android:name="android.permission.FOREGROUND_SERVICE" /> |
| 18 | <uses-permission android:name="android.permission.FOREGROUND_SERVICE_DATA_SYNC" /> |
| 19 | <uses-permission android:name="android.permission.MANAGE_DOCUMENTS" |
| 20 | tools:ignore="ProtectedPermissions" /> |
| 21 | |
| 22 | <!-- Assistant name search for openassistant. Signature-level: only apps signed |
| 23 | with the Modern Apps key can call. --> |
| 24 | <permission |
| 25 | android:name="com.vayunmathur.files.permissions.ACCESS_FILES" |
| 26 | android:protectionLevel="signature" /> |
| 27 | |
| 28 | <application |
| 29 | android:allowBackup="true" |
| 30 | android:dataExtractionRules="@xml/data_extraction_rules" |
| 31 | android:icon="@mipmap/ic_launcher" |
| 32 | android:label="@string/app_name" |
| 33 | android:roundIcon="@mipmap/ic_launcher" |
| 34 | android:supportsRtl="true" |
| 35 | android:theme="@style/Theme.General"> |
| 36 | |
| 37 | <provider |
| 38 | android:name="androidx.core.content.FileProvider" |
| 39 | android:authorities="${applicationId}.fileprovider" |
| 40 | android:exported="false" |
| 41 | android:grantUriPermissions="true"> |
| 42 | <meta-data |
| 43 | android:name="android.support.FILE_PROVIDER_PATHS" |
| 44 | android:resource="@xml/file_paths" /> |
| 45 | </provider> |
| 46 | |
| 47 | <activity |
| 48 | android:configChanges="mcc|mnc|colorMode|density|fontScale|fontWeightAdjustment|keyboard|keyboardHidden|layoutDirection|navigation|orientation|screenLayout|screenSize|smallestScreenSize|touchscreen|uiMode" |
| 49 | android:name=".MainActivity" |
| 50 | android:exported="true" |
| 51 | android:theme="@style/Theme.General"> |
| 52 | <intent-filter> |
| 53 | <action android:name="android.intent.action.MAIN" /> |
| 54 | <category android:name="android.intent.category.LAUNCHER" /> |
| 55 | </intent-filter> |
| 56 | </activity> |
| 57 | |
| 58 | <activity android:name=".ui.TextEditorActivity" |
| 59 | android:configChanges="mcc|mnc|colorMode|density|fontScale|fontWeightAdjustment|keyboard|keyboardHidden|layoutDirection|navigation|orientation|screenLayout|screenSize|smallestScreenSize|touchscreen|uiMode" |
| 60 | android:exported="true" |
| 61 | android:launchMode="standard" |
| 62 | android:documentLaunchMode="intoExisting"> |
| 63 | <intent-filter> |
| 64 | <action android:name="android.intent.action.VIEW" /> |
| 65 | <action android:name="android.intent.action.EDIT" /> |
| 66 | |
| 67 | <category android:name="android.intent.category.DEFAULT" /> |
| 68 | |
| 69 | <category android:name="android.intent.category.BROWSABLE" /> |
| 70 | |
| 71 | <data android:mimeType="text/*" /> |
| 72 | |
| 73 | <data android:scheme="content" /> |
| 74 | <data android:scheme="file" /> |
| 75 | </intent-filter> |
| 76 | </activity> |
| 77 | |
| 78 | <activity |
| 79 | android:name=".data.saf.DocumentPickerActivity" |
| 80 | android:configChanges="mcc|mnc|colorMode|density|fontScale|fontWeightAdjustment|keyboard|keyboardHidden|layoutDirection|navigation|orientation|screenLayout|screenSize|smallestScreenSize|touchscreen|uiMode" |
| 81 | android:enabled="false" |
| 82 | android:exported="true" |
| 83 | android:excludeFromRecents="true" |
| 84 | android:theme="@style/Theme.General"> |
| 85 | <intent-filter> |
| 86 | <action android:name="android.intent.action.OPEN_DOCUMENT" /> |
| 87 | <action android:name="android.intent.action.CREATE_DOCUMENT" /> |
| 88 | <category android:name="android.intent.category.DEFAULT" /> |
| 89 | <category android:name="android.intent.category.OPENABLE" /> |
| 90 | <data android:mimeType="*/*" /> |
| 91 | </intent-filter> |
| 92 | <intent-filter> |
| 93 | <action android:name="android.intent.action.OPEN_DOCUMENT_TREE" /> |
| 94 | <category android:name="android.intent.category.DEFAULT" /> |
| 95 | </intent-filter> |
| 96 | <intent-filter> |
| 97 | <action android:name="android.intent.action.GET_CONTENT" /> |
| 98 | <category android:name="android.intent.category.DEFAULT" /> |
| 99 | <category android:name="android.intent.category.OPENABLE" /> |
| 100 | <data android:mimeType="*/*" /> |
| 101 | </intent-filter> |
| 102 | </activity> |
| 103 | |
| 104 | <activity |
| 105 | android:name=".intents.SearchFilesIntent" |
| 106 | android:exported="true" |
| 107 | android:permission="com.vayunmathur.files.permissions.ACCESS_FILES" |
| 108 | android:theme="@android:style/Theme.NoDisplay" /> |
| 109 | |
| 110 | <service |
| 111 | android:name="androidx.work.impl.foreground.SystemForegroundService" |
| 112 | android:foregroundServiceType="dataSync" |
| 113 | tools:node="merge" /> |
| 114 | |
| 115 | </application> |
| 116 | |
| 117 | </manifest> |