Modern Apps git
git clone https://git.maproj.org/Modern-Apps.git
translate ▾

Modern-Apps.git / watch / src / main / AndroidManifest.xml

AndroidManifest.xml60 lines · 2.4 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 <application
22 android:allowBackup="false"
23 android:dataExtractionRules="@xml/data_extraction_rules"
24 android:icon="@mipmap/ic_launcher"
25 android:label="@string/app_name"
26 android:roundIcon="@mipmap/ic_launcher"
27 android:supportsRtl="true"
28 android:theme="@style/Theme.General">
29
30 <activity
31 android:name=".MainActivity"
32 android:exported="true"
33 android:theme="@style/Theme.General">
34 <intent-filter>
35 <action android:name="android.intent.action.MAIN" />
36 <category android:name="android.intent.category.LAUNCHER" />
37 </intent-filter>
38 </activity>
39
40 <service
41 android:name=".service.ConduitService"
42 android:exported="true"
43 android:foregroundServiceType="connectedDevice"
44 android:permission="com.vayunmathur.watch.permissions.CONDUIT">
45 <intent-filter>
46 <action android:name="com.vayunmathur.watch.action.CONDUIT" />
47 </intent-filter>
48 </service>
49
50 <receiver
51 android:name=".platform.BootReceiver"
52 android:enabled="true"
53 android:exported="true">
54 <intent-filter>
55 <action android:name="android.intent.action.BOOT_COMPLETED" />
56 <action android:name="android.intent.action.MY_PACKAGE_REPLACED" />
57 </intent-filter>
58 </receiver>
59 </application>
60</manifest>