Modern-Apps.git
Publicgit clone https://git.maproj.org/Modern-Apps.gitModern-Apps.git / watch / src / main / AndroidManifest.xml
AndroidManifest.xml68 lines · 2.7 KiBRaw
| 1 | <?xml version="1.0" encoding="utf-8"?> |
| 2 | <manifest xmlns:android="http://schemas.android.com/apk/res/android"> |
| 3 | |
| 4 | <!-- Sole Bluetooth holder on the phone: RFCOMM to the bonded watch. --> |
| 5 | <uses-permission android:name="android.permission.BLUETOOTH_CONNECT" /> |
| 6 | <uses-permission |
| 7 | android:name="android.permission.BLUETOOTH" |
| 8 | android:maxSdkVersion="30" /> |
| 9 | <uses-permission |
| 10 | android:name="android.permission.BLUETOOTH_ADMIN" |
| 11 | android:maxSdkVersion="30" /> |
| 12 | <uses-permission android:name="android.permission.FOREGROUND_SERVICE" /> |
| 13 | <uses-permission android:name="android.permission.FOREGROUND_SERVICE_CONNECTED_DEVICE" /> |
| 14 | <uses-permission android:name="android.permission.RECEIVE_BOOT_COMPLETED" /> |
| 15 | <uses-permission android:name="android.permission.POST_NOTIFICATIONS" /> |
| 16 | |
| 17 | <permission |
| 18 | android:name="com.vayunmathur.watch.permissions.CONDUIT" |
| 19 | android:protectionLevel="signature" /> |
| 20 | |
| 21 | <!-- Package-manager discovery of sync-capable phone apps: receivers |
| 22 | answering the conduit sync-trigger action (see ConduitSync). --> |
| 23 | <queries> |
| 24 | <intent> |
| 25 | <action android:name="com.vayunmathur.watch.action.SYNC_TRIGGER" /> |
| 26 | </intent> |
| 27 | </queries> |
| 28 | |
| 29 | <application |
| 30 | android:allowBackup="false" |
| 31 | android:dataExtractionRules="@xml/data_extraction_rules" |
| 32 | android:icon="@mipmap/ic_launcher" |
| 33 | android:label="@string/app_name" |
| 34 | android:roundIcon="@mipmap/ic_launcher" |
| 35 | android:supportsRtl="true" |
| 36 | android:theme="@style/Theme.General"> |
| 37 | |
| 38 | <activity |
| 39 | android:name=".MainActivity" |
| 40 | android:exported="true" |
| 41 | android:theme="@style/Theme.General"> |
| 42 | <intent-filter> |
| 43 | <action android:name="android.intent.action.MAIN" /> |
| 44 | <category android:name="android.intent.category.LAUNCHER" /> |
| 45 | </intent-filter> |
| 46 | </activity> |
| 47 | |
| 48 | <service |
| 49 | android:name=".service.ConduitService" |
| 50 | android:exported="true" |
| 51 | android:foregroundServiceType="connectedDevice" |
| 52 | android:permission="com.vayunmathur.watch.permissions.CONDUIT"> |
| 53 | <intent-filter> |
| 54 | <action android:name="com.vayunmathur.watch.action.CONDUIT" /> |
| 55 | </intent-filter> |
| 56 | </service> |
| 57 | |
| 58 | <receiver |
| 59 | android:name=".platform.BootReceiver" |
| 60 | android:enabled="true" |
| 61 | android:exported="true"> |
| 62 | <intent-filter> |
| 63 | <action android:name="android.intent.action.BOOT_COMPLETED" /> |
| 64 | <action android:name="android.intent.action.MY_PACKAGE_REPLACED" /> |
| 65 | </intent-filter> |
| 66 | </receiver> |
| 67 | </application> |
| 68 | </manifest> |