Modern-Apps.git
Publicgit clone https://git.maproj.org/Modern-Apps.gitModern-Apps.git / securemail / src / main / AndroidManifest.xml
AndroidManifest.xml94 lines · 4.2 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 | <!-- 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 | <uses-permission android:name="android.permission.INTERNET" /> |
| 11 | <uses-permission android:name="android.permission.POST_NOTIFICATIONS" /> |
| 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.RECEIVE_BOOT_COMPLETED" /> |
| 15 | |
| 16 | <!-- Single merged phone+watch APK: no watch uses-feature (see contacts/notes). --> |
| 17 | <uses-feature android:name="android.hardware.touchscreen" android:required="false" /> |
| 18 | |
| 19 | <application |
| 20 | android:allowBackup="true" |
| 21 | android:dataExtractionRules="@xml/data_extraction_rules" |
| 22 | android:icon="@mipmap/ic_launcher" |
| 23 | android:label="@string/app_name" |
| 24 | android:roundIcon="@mipmap/ic_launcher" |
| 25 | android:supportsRtl="true" |
| 26 | android:networkSecurityConfig="@xml/network_security_config" |
| 27 | android:theme="@style/Theme.General" |
| 28 | tools:replace="android:networkSecurityConfig"> |
| 29 | <meta-data android:name="com.google.android.wearable.standalone" android:value="false" /> |
| 30 | <activity |
| 31 | android:configChanges="mcc|mnc|colorMode|density|fontScale|fontWeightAdjustment|keyboard|keyboardHidden|layoutDirection|navigation|orientation|screenLayout|screenSize|smallestScreenSize|touchscreen|uiMode" |
| 32 | android:name=".MainActivity" |
| 33 | android:exported="true" |
| 34 | android:theme="@style/Theme.General" |
| 35 | android:launchMode="singleTask"> |
| 36 | <intent-filter> |
| 37 | <action android:name="android.intent.action.MAIN" /> |
| 38 | <category android:name="android.intent.category.LAUNCHER" /> |
| 39 | </intent-filter> |
| 40 | |
| 41 | <intent-filter> |
| 42 | <action android:name="android.intent.action.SEND" /> |
| 43 | <category android:name="android.intent.category.DEFAULT" /> |
| 44 | <data android:mimeType="text/plain" /> |
| 45 | </intent-filter> |
| 46 | |
| 47 | <intent-filter> |
| 48 | <action android:name="android.intent.action.SENDTO" /> |
| 49 | <category android:name="android.intent.category.DEFAULT" /> |
| 50 | <data android:scheme="mailto" /> |
| 51 | </intent-filter> |
| 52 | </activity> |
| 53 | |
| 54 | <service |
| 55 | android:name=".service.MailSocketService" |
| 56 | android:exported="false" |
| 57 | android:foregroundServiceType="dataSync" /> |
| 58 | |
| 59 | <receiver |
| 60 | android:name=".platform.BootReceiver" |
| 61 | android:exported="true" |
| 62 | android:enabled="true"> |
| 63 | <intent-filter> |
| 64 | <action android:name="android.intent.action.BOOT_COMPLETED" /> |
| 65 | <action android:name="android.intent.action.MY_PACKAGE_REPLACED" /> |
| 66 | <action android:name="android.intent.action.QUICKBOOT_POWERON" /> |
| 67 | </intent-filter> |
| 68 | </receiver> |
| 69 | |
| 70 | <provider |
| 71 | android:name="androidx.core.content.FileProvider" |
| 72 | android:authorities="com.vayunmathur.securemail.fileprovider" |
| 73 | android:exported="false" |
| 74 | android:grantUriPermissions="true"> |
| 75 | <meta-data |
| 76 | android:name="android.support.FILE_PROVIDER_PATHS" |
| 77 | android:resource="@xml/file_paths" /> |
| 78 | </provider> |
| 79 | <receiver |
| 80 | android:name=".sync.ConduitSyncTriggerReceiver" |
| 81 | android:exported="true" |
| 82 | android:permission="com.vayunmathur.watch.permissions.CONDUIT"> |
| 83 | <intent-filter> |
| 84 | <action android:name="com.vayunmathur.watch.action.SYNC_TRIGGER" /> |
| 85 | </intent-filter> |
| 86 | </receiver> |
| 87 | |
| 88 | <activity |
| 89 | android:name=".ui.WearMainActivity" |
| 90 | android:exported="false" |
| 91 | android:theme="@android:style/Theme.DeviceDefault.NoActionBar" /> |
| 92 | </application> |
| 93 | |
| 94 | </manifest> |