Chiao Cheng | 94b10b5 | 2012-08-17 16:59:12 -0700 | [diff] [blame] | 1 | <?xml version="1.0" encoding="utf-8"?> |
| 2 | <!-- Copyright (C) 2006 The Android Open Source Project |
| 3 | |
| 4 | Licensed under the Apache License, Version 2.0 (the "License"); |
| 5 | you may not use this file except in compliance with the License. |
| 6 | You may obtain a copy of the License at |
| 7 | |
| 8 | http://www.apache.org/licenses/LICENSE-2.0 |
| 9 | |
| 10 | Unless required by applicable law or agreed to in writing, software |
| 11 | distributed under the License is distributed on an "AS IS" BASIS, |
| 12 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| 13 | See the License for the specific language governing permissions and |
| 14 | limitations under the License. |
| 15 | --> |
| 16 | |
| 17 | <manifest xmlns:android="http://schemas.android.com/apk/res/android" |
Chiao Cheng | 107c6e0 | 2012-10-24 17:37:20 -0700 | [diff] [blame] | 18 | package="com.android.dialer"> |
Chiao Cheng | 94b10b5 | 2012-08-17 16:59:12 -0700 | [diff] [blame] | 19 | |
| 20 | <uses-permission android:name="android.permission.CALL_PRIVILEGED" /> |
| 21 | <uses-permission android:name="android.permission.READ_CONTACTS" /> |
| 22 | <uses-permission android:name="android.permission.WRITE_CONTACTS" /> |
Jay Shrauner | 31a760b | 2013-07-26 09:34:49 -0700 | [diff] [blame^] | 23 | <uses-permission android:name="android.permission.BIND_DIRECTORY_SEARCH" /> |
Chiao Cheng | 94b10b5 | 2012-08-17 16:59:12 -0700 | [diff] [blame] | 24 | <uses-permission android:name="android.permission.READ_CALL_LOG" /> |
| 25 | <uses-permission android:name="android.permission.WRITE_CALL_LOG" /> |
| 26 | <uses-permission android:name="android.permission.MANAGE_ACCOUNTS" /> |
| 27 | <uses-permission android:name="android.permission.GET_ACCOUNTS" /> |
| 28 | <uses-permission android:name="android.permission.ACCESS_FINE_LOCATION" /> |
| 29 | <uses-permission android:name="android.permission.ACCESS_COARSE_LOCATION" /> |
Chiao Cheng | 94b10b5 | 2012-08-17 16:59:12 -0700 | [diff] [blame] | 30 | <uses-permission android:name="android.permission.INTERNET" /> |
| 31 | <uses-permission android:name="android.permission.NFC" /> |
| 32 | <uses-permission android:name="android.permission.READ_PHONE_STATE" /> |
| 33 | <uses-permission android:name="android.permission.MODIFY_AUDIO_SETTINGS" /> |
| 34 | <uses-permission android:name="android.permission.MODIFY_PHONE_STATE" /> |
Chiao Cheng | 94b10b5 | 2012-08-17 16:59:12 -0700 | [diff] [blame] | 35 | <uses-permission android:name="android.permission.WAKE_LOCK" /> |
| 36 | <uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" /> |
| 37 | <uses-permission android:name="android.permission.WRITE_SETTINGS" /> |
| 38 | <uses-permission android:name="android.permission.USE_CREDENTIALS" /> |
| 39 | <uses-permission android:name="android.permission.VIBRATE" /> |
| 40 | <uses-permission android:name="android.permission.READ_SYNC_SETTINGS" /> |
| 41 | <uses-permission android:name="com.android.voicemail.permission.ADD_VOICEMAIL" /> |
| 42 | <uses-permission android:name="com.android.voicemail.permission.READ_WRITE_ALL_VOICEMAIL" /> |
| 43 | <uses-permission android:name="android.permission.ALLOW_ANY_CODEC_FOR_PLAYBACK" /> |
| 44 | <uses-permission android:name="com.android.launcher.permission.INSTALL_SHORTCUT"/> |
| 45 | <!-- allow broadcasting secret code intents that reboot the phone --> |
| 46 | <uses-permission android:name="android.permission.REBOOT" /> |
| 47 | <uses-permission android:name="android.permission.RECEIVE_BOOT_COMPLETED" /> |
| 48 | |
| 49 | <application |
| 50 | android:label="@string/applicationLabel" |
Chiao Cheng | 437afcc | 2012-11-09 15:18:21 -0800 | [diff] [blame] | 51 | android:icon="@mipmap/ic_launcher_phone" |
Fabrice Di Meglio | c341db0 | 2013-04-03 21:11:37 -0700 | [diff] [blame] | 52 | android:hardwareAccelerated="true" |
Christine Chen | 9c1e065 | 2013-05-23 15:40:19 -0700 | [diff] [blame] | 53 | android:supportsRtl="true" |
| 54 | android:backupAgent='com.android.dialer.DialerBackupAgent'> |
| 55 | |
| 56 | <meta-data android:name="com.google.android.backup.api_key" |
| 57 | android:value="AEdPqrEAAAAIBXgtCEKQ6W0PXVnW-ZVia2KmlV2AxsTw3GjAeQ" /> |
Chiao Cheng | 94b10b5 | 2012-08-17 16:59:12 -0700 | [diff] [blame] | 58 | |
Chiao Cheng | 94b10b5 | 2012-08-17 16:59:12 -0700 | [diff] [blame] | 59 | <!-- The entrance point for Phone UI. |
| 60 | stateAlwaysHidden is set to suppress keyboard show up on |
| 61 | dialpad screen. --> |
| 62 | <activity android:name=".DialtactsActivity" |
| 63 | android:label="@string/launcherDialer" |
Yorke Lee | c376633 | 2013-07-31 11:13:16 -0700 | [diff] [blame] | 64 | android:theme="@style/NewDialtactsTheme" |
Chiao Cheng | 94b10b5 | 2012-08-17 16:59:12 -0700 | [diff] [blame] | 65 | android:uiOptions="splitActionBarWhenNarrow" |
| 66 | android:launchMode="singleTask" |
| 67 | android:clearTaskOnLaunch="true" |
| 68 | android:icon="@mipmap/ic_launcher_phone" |
| 69 | android:screenOrientation="nosensor" |
| 70 | android:enabled="@*android:bool/config_voice_capable" |
Chiao Cheng | 94b10b5 | 2012-08-17 16:59:12 -0700 | [diff] [blame] | 71 | android:windowSoftInputMode="stateAlwaysHidden|adjustNothing"> |
| 72 | <intent-filter> |
| 73 | <action android:name="android.intent.action.DIAL" /> |
| 74 | <category android:name="android.intent.category.DEFAULT" /> |
| 75 | <category android:name="android.intent.category.BROWSABLE" /> |
| 76 | <data android:mimeType="vnd.android.cursor.item/phone" /> |
| 77 | <data android:mimeType="vnd.android.cursor.item/person" /> |
| 78 | </intent-filter> |
| 79 | <intent-filter> |
| 80 | <action android:name="android.intent.action.DIAL" /> |
| 81 | <category android:name="android.intent.category.DEFAULT" /> |
| 82 | <category android:name="android.intent.category.BROWSABLE" /> |
| 83 | <data android:scheme="voicemail" /> |
| 84 | </intent-filter> |
| 85 | <intent-filter> |
| 86 | <action android:name="android.intent.action.DIAL" /> |
| 87 | <category android:name="android.intent.category.DEFAULT" /> |
| 88 | </intent-filter> |
| 89 | <intent-filter> |
| 90 | <action android:name="android.intent.action.MAIN" /> |
| 91 | <category android:name="android.intent.category.DEFAULT" /> |
| 92 | <category android:name="android.intent.category.LAUNCHER" /> |
| 93 | <category android:name="android.intent.category.BROWSABLE" /> |
| 94 | </intent-filter> |
| 95 | <intent-filter> |
| 96 | <action android:name="android.intent.action.VIEW" /> |
| 97 | <action android:name="android.intent.action.DIAL" /> |
| 98 | <category android:name="android.intent.category.DEFAULT" /> |
| 99 | <category android:name="android.intent.category.BROWSABLE" /> |
| 100 | <data android:scheme="tel" /> |
| 101 | </intent-filter> |
| 102 | <intent-filter> |
Chiao Cheng | 94b10b5 | 2012-08-17 16:59:12 -0700 | [diff] [blame] | 103 | <action android:name="android.intent.action.CALL_BUTTON" /> |
| 104 | <category android:name="android.intent.category.DEFAULT" /> |
| 105 | <category android:name="android.intent.category.BROWSABLE" /> |
| 106 | </intent-filter> |
| 107 | <!-- This was never intended to be public, but is here for backward |
| 108 | compatibility. Use Intent.ACTION_DIAL instead. --> |
| 109 | <intent-filter> |
| 110 | <action android:name="com.android.phone.action.TOUCH_DIALER" /> |
| 111 | <category android:name="android.intent.category.DEFAULT" /> |
| 112 | <category android:name="android.intent.category.TAB" /> |
| 113 | </intent-filter> |
| 114 | <intent-filter android:label="@string/recentCallsIconLabel"> |
| 115 | <action android:name="com.android.phone.action.RECENT_CALLS" /> |
| 116 | <category android:name="android.intent.category.DEFAULT" /> |
| 117 | <category android:name="android.intent.category.TAB" /> |
| 118 | </intent-filter> |
| 119 | </activity> |
| 120 | |
Yorke Lee | c376633 | 2013-07-31 11:13:16 -0700 | [diff] [blame] | 121 | <activity android:name="com.android.dialer.calllog.CallLogActivity" |
| 122 | android:label="@string/call_log_activity_title" |
Yorke Lee | dfb2eee | 2013-06-26 18:24:32 -0700 | [diff] [blame] | 123 | android:theme="@style/NewDialtactsTheme" |
Yorke Lee | c376633 | 2013-07-31 11:13:16 -0700 | [diff] [blame] | 124 | android:screenOrientation="portrait" |
| 125 | android:icon="@mipmap/ic_launcher_phone"> |
Yorke Lee | dfb2eee | 2013-06-26 18:24:32 -0700 | [diff] [blame] | 126 | <intent-filter> |
| 127 | <action android:name="android.intent.action.VIEW" /> |
Yorke Lee | dfb2eee | 2013-06-26 18:24:32 -0700 | [diff] [blame] | 128 | <category android:name="android.intent.category.DEFAULT" /> |
| 129 | <category android:name="android.intent.category.BROWSABLE" /> |
Yorke Lee | c376633 | 2013-07-31 11:13:16 -0700 | [diff] [blame] | 130 | <data android:mimeType="vnd.android.cursor.dir/calls" /> |
Yorke Lee | dfb2eee | 2013-06-26 18:24:32 -0700 | [diff] [blame] | 131 | </intent-filter> |
Yorke Lee | dfb2eee | 2013-06-26 18:24:32 -0700 | [diff] [blame] | 132 | </activity> |
| 133 | |
Chiao Cheng | 94b10b5 | 2012-08-17 16:59:12 -0700 | [diff] [blame] | 134 | <activity android:name="com.android.dialer.CallDetailActivity" |
| 135 | android:label="@string/callDetailTitle" |
| 136 | android:theme="@style/CallDetailActivityTheme" |
| 137 | android:screenOrientation="portrait" |
| 138 | android:icon="@mipmap/ic_launcher_phone" |
Chiao Cheng | 94b10b5 | 2012-08-17 16:59:12 -0700 | [diff] [blame] | 139 | > |
| 140 | <intent-filter> |
| 141 | <action android:name="android.intent.action.VIEW"/> |
| 142 | <category android:name="android.intent.category.DEFAULT"/> |
| 143 | <data android:mimeType="vnd.android.cursor.item/calls"/> |
| 144 | </intent-filter> |
| 145 | </activity> |
| 146 | |
| 147 | <activity android:name="com.android.contacts.common.test.FragmentTestActivity"> |
| 148 | <intent-filter> |
| 149 | <category android:name="android.intent.category.TEST"/> |
| 150 | </intent-filter> |
| 151 | </activity> |
| 152 | |
| 153 | <!-- Backwards compatibility: "Phone" from Gingerbread and earlier --> |
| 154 | <activity-alias android:name="DialtactsActivity" |
| 155 | android:targetActivity=".DialtactsActivity" |
| 156 | android:exported="true" |
| 157 | /> |
| 158 | |
| 159 | <!-- Backwards compatibility: "Call log" from Gingerbread and earlier --> |
| 160 | <activity-alias android:name="RecentCallsListActivity" |
| 161 | android:targetActivity=".DialtactsActivity" |
| 162 | android:exported="true" |
| 163 | /> |
| 164 | |
| 165 | <!-- Backwards compatibility: "Call log" from ICS --> |
| 166 | <activity-alias android:name=".activities.CallLogActivity" |
| 167 | android:targetActivity=".DialtactsActivity" |
| 168 | android:exported="true" |
| 169 | /> |
| 170 | |
Chiao Cheng | e1d6477 | 2012-10-29 18:32:25 -0700 | [diff] [blame] | 171 | <!-- Used to filter contacts list by account --> |
| 172 | <activity |
Chiao Cheng | 82d544d | 2012-11-30 13:32:24 -0800 | [diff] [blame] | 173 | android:name="com.android.contacts.common.list.AccountFilterActivity" |
Chiao Cheng | e1d6477 | 2012-10-29 18:32:25 -0700 | [diff] [blame] | 174 | android:label="@string/activity_title_contacts_filter" |
| 175 | android:theme="@style/ContactListFilterTheme"/> |
| 176 | |
| 177 | <!-- Used to select display and sync groups --> |
| 178 | <activity |
Chiao Cheng | 82d544d | 2012-11-30 13:32:24 -0800 | [diff] [blame] | 179 | android:name="com.android.contacts.common.list.CustomContactListFilterActivity" |
Chiao Cheng | e1d6477 | 2012-10-29 18:32:25 -0700 | [diff] [blame] | 180 | android:label="@string/custom_list_filter" |
| 181 | android:theme="@style/ContactListFilterTheme"/> |
| 182 | |
Chiao Cheng | 8378c57 | 2012-12-03 17:17:52 -0800 | [diff] [blame] | 183 | <!-- vCard related --> |
| 184 | <activity android:name="com.android.contacts.common.vcard.ImportVCardActivity" |
| 185 | android:configChanges="orientation|screenSize|keyboardHidden" |
| 186 | android:theme="@style/BackgroundOnlyTheme"> |
| 187 | <intent-filter> |
| 188 | <action android:name="android.intent.action.VIEW"/> |
| 189 | <data android:mimeType="text/directory"/> |
| 190 | <data android:mimeType="text/vcard"/> |
| 191 | <data android:mimeType="text/x-vcard"/> |
| 192 | <category android:name="android.intent.category.DEFAULT"/> |
| 193 | </intent-filter> |
| 194 | </activity> |
| 195 | |
| 196 | <activity android:name="com.android.contacts.common.vcard.NfcImportVCardActivity" |
| 197 | android:configChanges="orientation|screenSize|keyboardHidden" |
| 198 | android:theme="@style/BackgroundOnlyTheme"> |
| 199 | <intent-filter> |
| 200 | <action android:name="android.nfc.action.NDEF_DISCOVERED"/> |
| 201 | <data android:mimeType="text/vcard"/> |
| 202 | <data android:mimeType="text/x-vcard"/> |
| 203 | <category android:name="android.intent.category.DEFAULT"/> |
| 204 | </intent-filter> |
| 205 | </activity> |
| 206 | |
| 207 | <activity android:name="com.android.contacts.common.vcard.CancelActivity" |
| 208 | android:theme="@style/BackgroundOnlyTheme"/> |
| 209 | |
| 210 | <activity android:name="com.android.contacts.common.vcard.SelectAccountActivity" |
| 211 | android:theme="@style/BackgroundOnlyTheme"/> |
| 212 | |
| 213 | <activity android:name="com.android.contacts.common.vcard.ExportVCardActivity" |
| 214 | android:theme="@style/BackgroundOnlyTheme"/> |
| 215 | |
| 216 | <service |
| 217 | android:name="com.android.contacts.common.vcard.VCardService" |
| 218 | android:exported="false"/> |
| 219 | <!-- end vCard related --> |
| 220 | |
Chiao Cheng | 94b10b5 | 2012-08-17 16:59:12 -0700 | [diff] [blame] | 221 | <receiver android:name=".calllog.CallLogReceiver" |
| 222 | android:enabled="@*android:bool/config_voice_capable"> |
| 223 | <intent-filter> |
| 224 | <action android:name="android.intent.action.NEW_VOICEMAIL" /> |
| 225 | <data |
| 226 | android:scheme="content" |
| 227 | android:host="com.android.voicemail" |
| 228 | android:mimeType="vnd.android.cursor.item/voicemail" |
| 229 | /> |
| 230 | </intent-filter> |
| 231 | <intent-filter android:priority="100"> |
| 232 | <action android:name="android.intent.action.BOOT_COMPLETED"/> |
| 233 | </intent-filter> |
| 234 | </receiver> |
| 235 | |
| 236 | <service |
| 237 | android:name=".calllog.CallLogNotificationsService" |
| 238 | android:exported="false" |
| 239 | /> |
Yorke Lee | 81e0da4 | 2013-01-30 14:56:19 -0800 | [diff] [blame] | 240 | |
| 241 | <!-- Service to update a contact --> |
| 242 | <service |
| 243 | android:name=".contact.ContactUpdateService" |
| 244 | android:exported="false" /> |
Chiao Cheng | 94b10b5 | 2012-08-17 16:59:12 -0700 | [diff] [blame] | 245 | </application> |
| 246 | </manifest> |