Modern-Apps.git
Publicgit clone https://git.maproj.org/Modern-Apps.gitModern-Apps.git / contacts / src / main / AndroidManifest.xml
AndroidManifest.xml202 lines · 9.8 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 | <!-- Offline app (#884): androidx.work merges in ACCESS_NETWORK_STATE, which nothing here uses. --> |
| 6 | <uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" tools:node="remove" /> |
| 7 | |
| 8 | <uses-permission android:name="android.permission.READ_CONTACTS" /> |
| 9 | <uses-permission android:name="android.permission.WRITE_CONTACTS" /> |
| 10 | <uses-permission android:name="android.permission.READ_CALENDAR" /> |
| 11 | <uses-permission android:name="android.permission.WRITE_CALENDAR" /> |
| 12 | <uses-permission android:name="android.permission.GET_ACCOUNTS" /> |
| 13 | <uses-permission android:name="android.permission.MANAGE_ACCOUNTS" /> |
| 14 | <uses-permission android:name="android.permission.AUTHENTICATE_ACCOUNTS" /> |
| 15 | <uses-permission android:name="android.permission.CALL_PHONE" /> |
| 16 | <uses-permission android:name="android.permission.READ_PHONE_STATE" /> |
| 17 | |
| 18 | <uses-feature |
| 19 | android:name="android.hardware.telephony" |
| 20 | android:required="false" /> |
| 21 | |
| 22 | <queries> |
| 23 | <package android:name="org.thoughtcrime.securesms" /> |
| 24 | <package android:name="com.whatsapp" /> |
| 25 | <package android:name="org.telegram.messenger" /> |
| 26 | <package android:name="com.google.android.apps.tachyon" /> |
| 27 | </queries> |
| 28 | |
| 29 | <permission |
| 30 | android:name="com.vayunmathur.contacts.permissions.ACCESS_CONTACTS" |
| 31 | android:protectionLevel="signature" /> |
| 32 | |
| 33 | <application |
| 34 | android:allowBackup="true" |
| 35 | android:dataExtractionRules="@xml/data_extraction_rules" |
| 36 | android:icon="@mipmap/ic_launcher" |
| 37 | android:label="@string/app_name" |
| 38 | android:roundIcon="@mipmap/ic_launcher" |
| 39 | android:supportsRtl="true" |
| 40 | android:theme="@style/Theme.General"> |
| 41 | <provider |
| 42 | android:name="androidx.core.content.FileProvider" |
| 43 | android:authorities="${applicationId}.provider" |
| 44 | android:exported="false" |
| 45 | android:grantUriPermissions="true"> |
| 46 | <meta-data |
| 47 | android:name="android.support.FILE_PROVIDER_PATHS" |
| 48 | android:resource="@xml/provider_paths" /> |
| 49 | </provider> |
| 50 | |
| 51 | <activity |
| 52 | android:name=".MainActivity" |
| 53 | android:exported="true" |
| 54 | android:configChanges="mcc|mnc|colorMode|density|fontScale|fontWeightAdjustment|keyboard|keyboardHidden|layoutDirection|navigation|orientation|screenLayout|screenSize|smallestScreenSize|touchscreen|uiMode" |
| 55 | android:theme="@style/Theme.General"> |
| 56 | <intent-filter> |
| 57 | <action android:name="android.intent.action.MAIN" /> |
| 58 | <category android:name="android.intent.category.LAUNCHER" /> |
| 59 | </intent-filter> |
| 60 | <intent-filter> |
| 61 | <action android:name="android.intent.action.APPLICATION_PREFERENCES" /> |
| 62 | <category android:name="android.intent.category.DEFAULT" /> |
| 63 | </intent-filter> |
| 64 | <intent-filter> |
| 65 | <action android:name="android.intent.action.PICK" /> |
| 66 | <data android:mimeType="vnd.android.cursor.dir/contact" /> |
| 67 | <data android:mimeType="vnd.android.cursor.item/postal-address_v2" /> |
| 68 | <data android:mimeType="vnd.android.cursor.dir/phone_v2" /> |
| 69 | <data android:mimeType="vnd.android.cursor.dir/email_v2" /> |
| 70 | |
| 71 | <category android:name="android.intent.category.DEFAULT" /> |
| 72 | </intent-filter> |
| 73 | |
| 74 | <intent-filter> |
| 75 | <action android:name="android.intent.action.GET_CONTENT" /> |
| 76 | <data android:mimeType="vnd.android.cursor.dir/contact" /> |
| 77 | <data android:mimeType="vnd.android.cursor.item/postal-address_v2" /> |
| 78 | <data android:mimeType="vnd.android.cursor.dir/phone_v2" /> |
| 79 | <data android:mimeType="vnd.android.cursor.dir/email_v2" /> |
| 80 | |
| 81 | <category android:name="android.intent.category.DEFAULT" /> |
| 82 | </intent-filter> |
| 83 | |
| 84 | <intent-filter> |
| 85 | <action android:name="android.intent.action.INSERT" /> |
| 86 | <data android:mimeType="vnd.android.cursor.dir/contact" /> |
| 87 | <category android:name="android.intent.category.DEFAULT" /> |
| 88 | </intent-filter> |
| 89 | |
| 90 | <intent-filter> |
| 91 | <action android:name="android.intent.action.INSERT_OR_EDIT" /> |
| 92 | <data android:mimeType="vnd.android.cursor.dir/contact" /> |
| 93 | <data android:mimeType="vnd.android.cursor.item/contact" /> |
| 94 | <data android:mimeType="vnd.android.cursor.dir/person" /> |
| 95 | <data android:mimeType="vnd.android.cursor.item/person" /> |
| 96 | <category android:name="android.intent.category.DEFAULT" /> |
| 97 | </intent-filter> |
| 98 | |
| 99 | <intent-filter> |
| 100 | <action android:name="com.android.contacts.action.SHOW_OR_CREATE_CONTACT" /> |
| 101 | <data android:scheme="tel" /> |
| 102 | <category android:name="android.intent.category.DEFAULT" /> |
| 103 | </intent-filter> |
| 104 | |
| 105 | <intent-filter> |
| 106 | <action android:name="com.android.contacts.action.SHOW_OR_CREATE_CONTACT" /> |
| 107 | <data android:mimeType="vnd.android.cursor.dir/contact" /> |
| 108 | <data android:mimeType="vnd.android.cursor.item/contact" /> |
| 109 | <category android:name="android.intent.category.DEFAULT" /> |
| 110 | </intent-filter> |
| 111 | |
| 112 | <intent-filter> |
| 113 | <action android:name="android.intent.action.VIEW" /> |
| 114 | <action android:name="android.intent.action.EDIT" /> |
| 115 | <data android:scheme="content" /> |
| 116 | <data android:host="com.android.contacts" /> |
| 117 | <data android:mimeType="vnd.android.cursor.item/contact" /> |
| 118 | <data android:mimeType="vnd.android.cursor.item/person" /> |
| 119 | <data android:mimeType="vnd.android.cursor.item/raw_contact" /> |
| 120 | <category android:name="android.intent.category.DEFAULT" /> |
| 121 | </intent-filter> |
| 122 | |
| 123 | <intent-filter> |
| 124 | <action android:name="android.intent.action.VIEW" /> |
| 125 | <action android:name="android.intent.action.EDIT" /> |
| 126 | <data android:mimeType="vnd.android.cursor.item/contact" /> |
| 127 | <data android:mimeType="vnd.android.cursor.item/person" /> |
| 128 | <data android:mimeType="vnd.android.cursor.item/raw_contact" /> |
| 129 | <data android:mimeType="vnd.android.cursor.dir/contact" /> |
| 130 | <data android:mimeType="vnd.android.cursor.dir/person" /> |
| 131 | <category android:name="android.intent.category.DEFAULT" /> |
| 132 | </intent-filter> |
| 133 | |
| 134 | <intent-filter> |
| 135 | <action android:name="com.android.contacts.action.QUICK_CONTACT" /> |
| 136 | <action android:name="android.provider.action.QUICK_CONTACT" /> |
| 137 | <category android:name="android.intent.category.DEFAULT" /> |
| 138 | <data android:mimeType="vnd.android.cursor.item/contact" /> |
| 139 | <data android:mimeType="vnd.android.cursor.item/person" /> |
| 140 | <data android:mimeType="vnd.android.cursor.item/raw_contact" /> |
| 141 | </intent-filter> |
| 142 | |
| 143 | <intent-filter> |
| 144 | <action android:name="android.intent.action.VIEW" /> |
| 145 | <category android:name="android.intent.category.DEFAULT" /> |
| 146 | <data android:scheme="content" /> |
| 147 | <data android:host="com.android.contacts" /> |
| 148 | <data android:pathPrefix="/groups" /> |
| 149 | </intent-filter> |
| 150 | |
| 151 | <intent-filter> |
| 152 | <action android:name="android.intent.action.VIEW" /> |
| 153 | <category android:name="android.intent.category.DEFAULT" /> |
| 154 | <data android:mimeType="vnd.android.cursor.item/group" /> |
| 155 | <data android:mimeType="vnd.android.cursor.dir/group" /> |
| 156 | </intent-filter> |
| 157 | |
| 158 | <intent-filter> |
| 159 | <action android:name="android.intent.action.VIEW" /> |
| 160 | <action android:name="android.intent.action.SEND" /> |
| 161 | <action android:name="android.intent.action.SEND_MULTIPLE" /> |
| 162 | <action android:name="android.intent.action.GET_CONTENT" /> |
| 163 | <category android:name="android.intent.category.DEFAULT" /> |
| 164 | <category android:name="android.intent.category.BROWSABLE" /> |
| 165 | <data android:scheme="content" /> |
| 166 | <data android:scheme="file" /> |
| 167 | <data android:scheme="http" /> |
| 168 | <data android:scheme="https" /> |
| 169 | <data android:mimeType="text/x-vcard" /> |
| 170 | <data android:mimeType="text/vcard" /> |
| 171 | <data android:mimeType="application/vcard" /> |
| 172 | <data android:mimeType="text/vcf" /> |
| 173 | <data android:mimeType="text/directory" /> |
| 174 | <data android:mimeType="application/octet-stream" /> |
| 175 | </intent-filter> |
| 176 | </activity> |
| 177 | |
| 178 | <activity |
| 179 | android:name=".intents.GetIntent" |
| 180 | android:exported="true" |
| 181 | android:theme="@android:style/Theme.NoDisplay" |
| 182 | android:permission="com.vayunmathur.contacts.permissions.ACCESS_CONTACTS"> |
| 183 | </activity> |
| 184 | |
| 185 | <activity |
| 186 | android:name=".intents.InsertIntent" |
| 187 | android:exported="true" |
| 188 | android:theme="@android:style/Theme.NoDisplay" |
| 189 | android:permission="com.vayunmathur.contacts.permissions.ACCESS_CONTACTS"> |
| 190 | </activity> |
| 191 | |
| 192 | <service android:name=".auth.AuthenticatorService" android:exported="false"> |
| 193 | <intent-filter> |
| 194 | <action android:name="android.accounts.AccountAuthenticator" /> |
| 195 | </intent-filter> |
| 196 | <meta-data |
| 197 | android:name="android.accounts.AccountAuthenticator" |
| 198 | android:resource="@xml/authenticator" /> |
| 199 | </service> |
| 200 | </application> |
| 201 | |
| 202 | </manifest> |