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

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

AndroidManifest.xml81 lines · 3.6 KiBRaw
1<?xml version="1.0" encoding="utf-8"?>
2<manifest xmlns:android="http://schemas.android.com/apk/res/android">
3
4 <uses-permission android:name="android.permission.INTERNET" />
5 <uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" />
6 <uses-permission android:name="android.permission.RECEIVE_BOOT_COMPLETED" />
7
8 <uses-permission android:name="android.permission.READ_CONTACTS" />
9 <uses-permission android:name="android.permission.WRITE_CONTACTS" />
10
11 <uses-permission android:name="android.permission.READ_CALENDAR" />
12 <uses-permission android:name="android.permission.WRITE_CALENDAR" />
13
14 <!-- Relay IPC: query the passwords/notes/todo vault ContentProviders (signature-gated). -->
15 <uses-permission android:name="com.vayunmathur.passwords.permission.RELAY" />
16 <uses-permission android:name="com.vayunmathur.notes.permission.RELAY" />
17 <uses-permission android:name="com.vayunmathur.todo.permission.RELAY" />
18
19 <uses-permission android:name="android.permission.GET_ACCOUNTS" />
20 <uses-permission android:name="android.permission.MANAGE_ACCOUNTS" />
21 <uses-permission android:name="android.permission.AUTHENTICATE_ACCOUNTS" />
22
23 <application
24 android:allowBackup="true"
25 android:name=".EverySyncApplication"
26 android:dataExtractionRules="@xml/data_extraction_rules"
27 android:icon="@mipmap/ic_launcher"
28 android:label="@string/app_name"
29 android:roundIcon="@mipmap/ic_launcher"
30 android:supportsRtl="true"
31 android:theme="@style/Theme.General">
32
33 <activity
34 android:name=".MainActivity"
35 android:exported="true"
36 android:launchMode="singleTop"
37 android:configChanges="mcc|mnc|colorMode|density|fontScale|fontWeightAdjustment|keyboard|keyboardHidden|layoutDirection|navigation|orientation|screenLayout|screenSize|smallestScreenSize|touchscreen|uiMode"
38 android:theme="@style/Theme.General">
39 <intent-filter>
40 <action android:name="android.intent.action.MAIN" />
41 <category android:name="android.intent.category.LAUNCHER" />
42 </intent-filter>
43 <intent-filter>
44 <action android:name="android.intent.action.APPLICATION_PREFERENCES" />
45 <category android:name="android.intent.category.DEFAULT" />
46 </intent-filter>
47 <!-- everysync://join/<vaultId>?owner=<device>&type=<dataType>: sealed join request (public ids only). -->
48 <intent-filter>
49 <action android:name="android.intent.action.VIEW" />
50
51 <category android:name="android.intent.category.DEFAULT" />
52 <category android:name="android.intent.category.BROWSABLE" />
53
54 <data android:scheme="everysync" android:host="join" />
55 </intent-filter>
56 </activity>
57
58 <service
59 android:name=".auth.AuthenticatorService"
60 android:exported="false">
61 <intent-filter>
62 <action android:name="android.accounts.AccountAuthenticator" />
63 </intent-filter>
64 <meta-data
65 android:name="android.accounts.AccountAuthenticator"
66 android:resource="@xml/authenticator" />
67 </service>
68
69 <receiver
70 android:name=".platform.BootReceiver"
71 android:exported="true"
72 android:enabled="true">
73 <intent-filter>
74 <action android:name="android.intent.action.BOOT_COMPLETED" />
75 <action android:name="android.intent.action.MY_PACKAGE_REPLACED" />
76 </intent-filter>
77 </receiver>
78
79 </application>
80
81</manifest>