Modern-Apps.git
Publicgit clone https://git.maproj.org/Modern-Apps.gitModern-Apps.git / securemail / src / main / AndroidManifest.xml
AndroidManifest.xml72 lines · 3.1 KiBRaw
| 1 | <?xml version="1.0" encoding="utf-8"?> |
| 2 | <manifest xmlns:android="http://schemas.android.com/apk/res/android" |
| 3 | xmlns:tools="http://schemas.android.com/tools"> |
| 4 | |
| 5 | <uses-permission android:name="android.permission.INTERNET" /> |
| 6 | <uses-permission android:name="android.permission.POST_NOTIFICATIONS" /> |
| 7 | <uses-permission android:name="android.permission.FOREGROUND_SERVICE" /> |
| 8 | <uses-permission android:name="android.permission.FOREGROUND_SERVICE_DATA_SYNC" /> |
| 9 | <uses-permission android:name="android.permission.RECEIVE_BOOT_COMPLETED" /> |
| 10 | |
| 11 | <application |
| 12 | android:allowBackup="true" |
| 13 | android:dataExtractionRules="@xml/data_extraction_rules" |
| 14 | android:icon="@mipmap/ic_launcher" |
| 15 | android:label="@string/app_name" |
| 16 | android:roundIcon="@mipmap/ic_launcher" |
| 17 | android:supportsRtl="true" |
| 18 | android:networkSecurityConfig="@xml/network_security_config" |
| 19 | android:theme="@style/Theme.General" |
| 20 | tools:replace="android:networkSecurityConfig"> |
| 21 | <activity |
| 22 | android:configChanges="mcc|mnc|colorMode|density|fontScale|fontWeightAdjustment|keyboard|keyboardHidden|layoutDirection|navigation|orientation|screenLayout|screenSize|smallestScreenSize|touchscreen|uiMode" |
| 23 | android:name=".MainActivity" |
| 24 | android:exported="true" |
| 25 | android:theme="@style/Theme.General" |
| 26 | android:launchMode="singleTask"> |
| 27 | <intent-filter> |
| 28 | <action android:name="android.intent.action.MAIN" /> |
| 29 | <category android:name="android.intent.category.LAUNCHER" /> |
| 30 | </intent-filter> |
| 31 | |
| 32 | <intent-filter> |
| 33 | <action android:name="android.intent.action.SEND" /> |
| 34 | <category android:name="android.intent.category.DEFAULT" /> |
| 35 | <data android:mimeType="text/plain" /> |
| 36 | </intent-filter> |
| 37 | |
| 38 | <intent-filter> |
| 39 | <action android:name="android.intent.action.SENDTO" /> |
| 40 | <category android:name="android.intent.category.DEFAULT" /> |
| 41 | <data android:scheme="mailto" /> |
| 42 | </intent-filter> |
| 43 | </activity> |
| 44 | |
| 45 | <service |
| 46 | android:name=".service.MailSocketService" |
| 47 | android:exported="false" |
| 48 | android:foregroundServiceType="dataSync" /> |
| 49 | |
| 50 | <receiver |
| 51 | android:name=".platform.BootReceiver" |
| 52 | android:exported="true" |
| 53 | android:enabled="true"> |
| 54 | <intent-filter> |
| 55 | <action android:name="android.intent.action.BOOT_COMPLETED" /> |
| 56 | <action android:name="android.intent.action.MY_PACKAGE_REPLACED" /> |
| 57 | <action android:name="android.intent.action.QUICKBOOT_POWERON" /> |
| 58 | </intent-filter> |
| 59 | </receiver> |
| 60 | |
| 61 | <provider |
| 62 | android:name="androidx.core.content.FileProvider" |
| 63 | android:authorities="com.vayunmathur.securemail.fileprovider" |
| 64 | android:exported="false" |
| 65 | android:grantUriPermissions="true"> |
| 66 | <meta-data |
| 67 | android:name="android.support.FILE_PROVIDER_PATHS" |
| 68 | android:resource="@xml/file_paths" /> |
| 69 | </provider> |
| 70 | </application> |
| 71 | |
| 72 | </manifest> |