Modern-Apps.git
Publicgit clone https://git.maproj.org/Modern-Apps.gitModern-Apps.git / passwords / src / main / AndroidManifest.xml
AndroidManifest.xml110 lines · 4.8 KiBRaw
| 1 | <?xml version="1.0" encoding="utf-8"?> |
| 2 | <manifest xmlns:android="http://schemas.android.com/apk/res/android"> |
| 3 | |
| 4 | <!-- MAOS: opt out of the GrapheneOS Sensors permission (OTHER_SENSORS). --> |
| 5 | <!-- This app uses no motion/environment sensors; MAOS withholds the --> |
| 6 | <!-- Sensors permission at install instead of auto-granting it. --> |
| 7 | <uses-permission android:name="com.vayunmathur.permission.SENSORS_OPTOUT" /> |
| 8 | |
| 9 | <uses-permission android:name="android.permission.INTERNET" /> |
| 10 | <uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" /> |
| 11 | <uses-permission android:name="android.permission.BLUETOOTH_ADVERTISE" /> |
| 12 | <uses-permission android:name="android.permission.BLUETOOTH_CONNECT" /> |
| 13 | <uses-permission android:name="android.permission.POST_NOTIFICATIONS" /> |
| 14 | <uses-permission android:name="android.permission.FOREGROUND_SERVICE" /> |
| 15 | <uses-permission android:name="android.permission.FOREGROUND_SERVICE_CONNECTED_DEVICE" /> |
| 16 | |
| 17 | <!-- Relay IPC for the everysync app's PasswordSink. Signature-level: only apps signed |
| 18 | with the Modern Apps key can hold it, and the provider additionally narrows the |
| 19 | caller to com.vayunmathur.everysync at runtime. --> |
| 20 | <permission |
| 21 | android:name="com.vayunmathur.passwords.permission.RELAY" |
| 22 | android:protectionLevel="signature" /> |
| 23 | |
| 24 | <uses-feature |
| 25 | android:name="android.hardware.bluetooth_le" |
| 26 | android:required="false" /> |
| 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 | <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 | |
| 44 | <category android:name="android.intent.category.LAUNCHER" /> |
| 45 | </intent-filter> |
| 46 | <intent-filter> |
| 47 | <action android:name="android.intent.action.APPLICATION_PREFERENCES" /> |
| 48 | <category android:name="android.intent.category.DEFAULT" /> |
| 49 | </intent-filter> |
| 50 | </activity> |
| 51 | |
| 52 | <service |
| 53 | android:name=".platform.PasswordAutofillService" |
| 54 | android:permission="android.permission.BIND_AUTOFILL_SERVICE" |
| 55 | android:exported="true"> |
| 56 | <intent-filter> |
| 57 | <action android:name="android.service.autofill.AutofillService" /> |
| 58 | </intent-filter> |
| 59 | <meta-data |
| 60 | android:name="android.autofill" |
| 61 | android:resource="@xml/autofill_service" /> |
| 62 | </service> |
| 63 | |
| 64 | <service |
| 65 | android:name=".platform.PasskeyCredentialService" |
| 66 | android:permission="android.permission.BIND_CREDENTIAL_PROVIDER_SERVICE" |
| 67 | android:exported="true"> |
| 68 | <intent-filter> |
| 69 | <action android:name="android.service.credentials.CredentialProviderService" /> |
| 70 | </intent-filter> |
| 71 | <meta-data |
| 72 | android:name="android.credentials.provider" |
| 73 | android:resource="@xml/credential_provider" /> |
| 74 | </service> |
| 75 | |
| 76 | <activity |
| 77 | android:name=".ui.PasskeyAuthActivity" |
| 78 | android:exported="false" |
| 79 | android:theme="@style/Theme.General" /> |
| 80 | |
| 81 | <activity |
| 82 | android:name=".platform.cable.CableActivity" |
| 83 | android:exported="true" |
| 84 | android:taskAffinity="" |
| 85 | android:excludeFromRecents="true" |
| 86 | android:theme="@style/Theme.General.Translucent"> |
| 87 | <intent-filter android:autoVerify="false"> |
| 88 | <action android:name="android.intent.action.VIEW" /> |
| 89 | |
| 90 | <category android:name="android.intent.category.DEFAULT" /> |
| 91 | <category android:name="android.intent.category.BROWSABLE" /> |
| 92 | |
| 93 | <data android:scheme="fido" /> |
| 94 | </intent-filter> |
| 95 | </activity> |
| 96 | |
| 97 | <service |
| 98 | android:name=".platform.cable.CableService" |
| 99 | android:exported="false" |
| 100 | android:foregroundServiceType="connectedDevice" /> |
| 101 | |
| 102 | <provider |
| 103 | android:name=".sync.RelayPasswordProvider" |
| 104 | android:authorities="com.vayunmathur.passwords.relay" |
| 105 | android:exported="true" |
| 106 | android:readPermission="com.vayunmathur.passwords.permission.RELAY" |
| 107 | android:writePermission="com.vayunmathur.passwords.permission.RELAY" /> |
| 108 | </application> |
| 109 | |
| 110 | </manifest> |