Modern-Apps.git
Publicgit clone https://git.maproj.org/Modern-Apps.gitModern-Apps.git / files / src / main / AndroidManifest.xml
AndroidManifest.xml100 lines · 4.7 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 | <uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" tools:node="remove" /> |
| 7 | |
| 8 | <uses-permission android:name="android.permission.MANAGE_EXTERNAL_STORAGE" |
| 9 | tools:ignore="AllFilesAccessPolicy,ScopedStorage" /> |
| 10 | <uses-permission android:name="android.permission.POST_NOTIFICATIONS" /> |
| 11 | <uses-permission android:name="android.permission.REQUEST_INSTALL_PACKAGES" /> |
| 12 | <uses-permission android:name="android.permission.FOREGROUND_SERVICE" /> |
| 13 | <uses-permission android:name="android.permission.FOREGROUND_SERVICE_DATA_SYNC" /> |
| 14 | <uses-permission android:name="android.permission.MANAGE_DOCUMENTS" |
| 15 | tools:ignore="ProtectedPermissions" /> |
| 16 | |
| 17 | <application |
| 18 | android:allowBackup="true" |
| 19 | android:dataExtractionRules="@xml/data_extraction_rules" |
| 20 | android:icon="@mipmap/ic_launcher" |
| 21 | android:label="@string/app_name" |
| 22 | android:roundIcon="@mipmap/ic_launcher" |
| 23 | android:supportsRtl="true" |
| 24 | android:theme="@style/Theme.General"> |
| 25 | |
| 26 | <provider |
| 27 | android:name="androidx.core.content.FileProvider" |
| 28 | android:authorities="${applicationId}.fileprovider" |
| 29 | android:exported="false" |
| 30 | android:grantUriPermissions="true"> |
| 31 | <meta-data |
| 32 | android:name="android.support.FILE_PROVIDER_PATHS" |
| 33 | android:resource="@xml/file_paths" /> |
| 34 | </provider> |
| 35 | |
| 36 | <activity |
| 37 | android:configChanges="mcc|mnc|colorMode|density|fontScale|fontWeightAdjustment|keyboard|keyboardHidden|layoutDirection|navigation|orientation|screenLayout|screenSize|smallestScreenSize|touchscreen|uiMode" |
| 38 | android:name=".MainActivity" |
| 39 | android:exported="true" |
| 40 | android:theme="@style/Theme.General"> |
| 41 | <intent-filter> |
| 42 | <action android:name="android.intent.action.MAIN" /> |
| 43 | <category android:name="android.intent.category.LAUNCHER" /> |
| 44 | </intent-filter> |
| 45 | </activity> |
| 46 | |
| 47 | <activity android:name=".ui.TextEditorActivity" |
| 48 | android:configChanges="mcc|mnc|colorMode|density|fontScale|fontWeightAdjustment|keyboard|keyboardHidden|layoutDirection|navigation|orientation|screenLayout|screenSize|smallestScreenSize|touchscreen|uiMode" |
| 49 | android:exported="true" |
| 50 | android:launchMode="standard" |
| 51 | android:documentLaunchMode="intoExisting"> |
| 52 | <intent-filter> |
| 53 | <action android:name="android.intent.action.VIEW" /> |
| 54 | <action android:name="android.intent.action.EDIT" /> |
| 55 | |
| 56 | <category android:name="android.intent.category.DEFAULT" /> |
| 57 | |
| 58 | <category android:name="android.intent.category.BROWSABLE" /> |
| 59 | |
| 60 | <data android:mimeType="text/*" /> |
| 61 | |
| 62 | <data android:scheme="content" /> |
| 63 | <data android:scheme="file" /> |
| 64 | </intent-filter> |
| 65 | </activity> |
| 66 | |
| 67 | <activity |
| 68 | android:name=".data.saf.DocumentPickerActivity" |
| 69 | android:configChanges="mcc|mnc|colorMode|density|fontScale|fontWeightAdjustment|keyboard|keyboardHidden|layoutDirection|navigation|orientation|screenLayout|screenSize|smallestScreenSize|touchscreen|uiMode" |
| 70 | android:enabled="false" |
| 71 | android:exported="true" |
| 72 | android:excludeFromRecents="true" |
| 73 | android:theme="@style/Theme.General"> |
| 74 | <intent-filter> |
| 75 | <action android:name="android.intent.action.OPEN_DOCUMENT" /> |
| 76 | <action android:name="android.intent.action.CREATE_DOCUMENT" /> |
| 77 | <category android:name="android.intent.category.DEFAULT" /> |
| 78 | <category android:name="android.intent.category.OPENABLE" /> |
| 79 | <data android:mimeType="*/*" /> |
| 80 | </intent-filter> |
| 81 | <intent-filter> |
| 82 | <action android:name="android.intent.action.OPEN_DOCUMENT_TREE" /> |
| 83 | <category android:name="android.intent.category.DEFAULT" /> |
| 84 | </intent-filter> |
| 85 | <intent-filter> |
| 86 | <action android:name="android.intent.action.GET_CONTENT" /> |
| 87 | <category android:name="android.intent.category.DEFAULT" /> |
| 88 | <category android:name="android.intent.category.OPENABLE" /> |
| 89 | <data android:mimeType="*/*" /> |
| 90 | </intent-filter> |
| 91 | </activity> |
| 92 | |
| 93 | <service |
| 94 | android:name="androidx.work.impl.foreground.SystemForegroundService" |
| 95 | android:foregroundServiceType="dataSync" |
| 96 | tools:node="merge" /> |
| 97 | |
| 98 | </application> |
| 99 | |
| 100 | </manifest> |