Modern-Apps.git
Publicgit clone https://git.maproj.org/Modern-Apps.gitModern-Apps.git / email / src / main / AndroidManifest.xml
AndroidManifest.xml140 lines · 6.3 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 | <permission |
| 12 | android:name="com.vayunmathur.email.permissions.ACCESS_EMAIL" |
| 13 | android:protectionLevel="signature" /> |
| 14 | |
| 15 | <application |
| 16 | android:allowBackup="true" |
| 17 | android:dataExtractionRules="@xml/data_extraction_rules" |
| 18 | android:icon="@mipmap/ic_launcher" |
| 19 | android:label="@string/app_name" |
| 20 | android:roundIcon="@mipmap/ic_launcher" |
| 21 | android:supportsRtl="true" |
| 22 | android:networkSecurityConfig="@xml/network_security_config" |
| 23 | android:theme="@style/Theme.General" |
| 24 | tools:replace="android:networkSecurityConfig"> |
| 25 | <activity |
| 26 | android:configChanges="mcc|mnc|colorMode|density|fontScale|fontWeightAdjustment|keyboard|keyboardHidden|layoutDirection|navigation|orientation|screenLayout|screenSize|smallestScreenSize|touchscreen|uiMode" |
| 27 | android:name=".MainActivity" |
| 28 | android:exported="true" |
| 29 | android:theme="@style/Theme.General" |
| 30 | android:launchMode="singleTask"> |
| 31 | <intent-filter> |
| 32 | <action android:name="android.intent.action.MAIN" /> |
| 33 | <category android:name="android.intent.category.LAUNCHER" /> |
| 34 | </intent-filter> |
| 35 | <intent-filter> |
| 36 | <action android:name="android.intent.action.APPLICATION_PREFERENCES" /> |
| 37 | <category android:name="android.intent.category.DEFAULT" /> |
| 38 | </intent-filter> |
| 39 | |
| 40 | <intent-filter> |
| 41 | <action android:name="android.intent.action.SEND" /> |
| 42 | <category android:name="android.intent.category.DEFAULT" /> |
| 43 | <data android:mimeType="text/plain" /> |
| 44 | </intent-filter> |
| 45 | |
| 46 | <intent-filter> |
| 47 | <action android:name="android.intent.action.SENDTO" /> |
| 48 | <category android:name="android.intent.category.DEFAULT" /> |
| 49 | <data android:scheme="mailto" /> |
| 50 | </intent-filter> |
| 51 | |
| 52 | <intent-filter> |
| 53 | <action android:name="android.intent.action.VIEW" /> |
| 54 | <category android:name="android.intent.category.DEFAULT" /> |
| 55 | <category android:name="android.intent.category.BROWSABLE" /> |
| 56 | <data android:scheme="content" android:mimeType="message/rfc822" /> |
| 57 | <data android:scheme="file" android:mimeType="message/rfc822" /> |
| 58 | </intent-filter> |
| 59 | <intent-filter> |
| 60 | <action android:name="android.intent.action.VIEW" /> |
| 61 | <category android:name="android.intent.category.DEFAULT" /> |
| 62 | <category android:name="android.intent.category.BROWSABLE" /> |
| 63 | <data android:scheme="content" /> |
| 64 | <data android:scheme="file" /> |
| 65 | <data android:host="*" /> |
| 66 | <data android:mimeType="application/octet-stream" /> |
| 67 | <data android:pathPattern=".*\\.eml" /> |
| 68 | </intent-filter> |
| 69 | </activity> |
| 70 | |
| 71 | <receiver |
| 72 | android:name=".widget.EmailWidgetReceiver" |
| 73 | android:exported="false" |
| 74 | android:label="@string/unified_inbox_label"> |
| 75 | <intent-filter> |
| 76 | <action android:name="android.appwidget.action.APPWIDGET_UPDATE" /> |
| 77 | </intent-filter> |
| 78 | <meta-data |
| 79 | android:name="android.appwidget.provider" |
| 80 | android:resource="@xml/email_widget_info" /> |
| 81 | </receiver> |
| 82 | |
| 83 | <service |
| 84 | android:name=".data.ImapIdleService" |
| 85 | android:exported="false" |
| 86 | android:foregroundServiceType="dataSync" /> |
| 87 | |
| 88 | <receiver |
| 89 | android:name=".platform.BootReceiver" |
| 90 | android:exported="true" |
| 91 | android:enabled="true"> |
| 92 | <intent-filter> |
| 93 | <action android:name="android.intent.action.BOOT_COMPLETED" /> |
| 94 | <action android:name="android.intent.action.MY_PACKAGE_REPLACED" /> |
| 95 | <action android:name="android.intent.action.QUICKBOOT_POWERON" /> |
| 96 | </intent-filter> |
| 97 | </receiver> |
| 98 | |
| 99 | <receiver |
| 100 | android:name=".platform.EmailNotificationActionReceiver" |
| 101 | android:exported="false" /> |
| 102 | |
| 103 | <provider |
| 104 | android:name="androidx.core.content.FileProvider" |
| 105 | android:authorities="com.vayunmathur.email.fileprovider" |
| 106 | android:exported="false" |
| 107 | android:grantUriPermissions="true"> |
| 108 | <meta-data |
| 109 | android:name="android.support.FILE_PROVIDER_PATHS" |
| 110 | android:resource="@xml/file_paths" /> |
| 111 | </provider> |
| 112 | |
| 113 | <activity |
| 114 | android:name=".ui.OAuthActivity" |
| 115 | android:configChanges="mcc|mnc|colorMode|density|fontScale|fontWeightAdjustment|keyboard|keyboardHidden|layoutDirection|navigation|orientation|screenLayout|screenSize|smallestScreenSize|touchscreen|uiMode" |
| 116 | android:exported="true" |
| 117 | android:launchMode="singleTask" |
| 118 | android:theme="@android:style/Theme.Translucent.NoTitleBar"> |
| 119 | <intent-filter> |
| 120 | <action android:name="android.intent.action.VIEW" /> |
| 121 | <category android:name="android.intent.category.DEFAULT" /> |
| 122 | <category android:name="android.intent.category.BROWSABLE" /> |
| 123 | <data android:scheme="com.vayunmathur.email" android:host="oauth" /> |
| 124 | </intent-filter> |
| 125 | </activity> |
| 126 | |
| 127 | <activity |
| 128 | android:name=".intents.SearchIntent" |
| 129 | android:exported="true" |
| 130 | android:theme="@android:style/Theme.NoDisplay" |
| 131 | android:permission="com.vayunmathur.email.permissions.ACCESS_EMAIL" /> |
| 132 | |
| 133 | <activity |
| 134 | android:name=".intents.GetRecentIntent" |
| 135 | android:exported="true" |
| 136 | android:theme="@android:style/Theme.NoDisplay" |
| 137 | android:permission="com.vayunmathur.email.permissions.ACCESS_EMAIL" /> |
| 138 | </application> |
| 139 | |
| 140 | </manifest> |