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" /> |
| 23 | <uses-permission android:name="android.permission.READ_CALL_LOG" /> |
| 24 | <uses-permission android:name="android.permission.WRITE_CALL_LOG" /> |
Yorke Lee | 7d66134 | 2013-11-07 12:11:13 -0800 | [diff] [blame] | 25 | <uses-permission android:name="android.permission.READ_PROFILE" /> |
Chiao Cheng | 94b10b5 | 2012-08-17 16:59:12 -0700 | [diff] [blame] | 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" /> |
Yorke Lee | 1197d33 | 2013-08-14 08:55:53 -0700 | [diff] [blame] | 31 | <uses-permission android:name="android.permission.PROCESS_OUTGOING_CALLS"/> |
Chiao Cheng | 94b10b5 | 2012-08-17 16:59:12 -0700 | [diff] [blame] | 32 | <uses-permission android:name="android.permission.NFC" /> |
| 33 | <uses-permission android:name="android.permission.READ_PHONE_STATE" /> |
| 34 | <uses-permission android:name="android.permission.MODIFY_AUDIO_SETTINGS" /> |
| 35 | <uses-permission android:name="android.permission.MODIFY_PHONE_STATE" /> |
Chiao Cheng | 94b10b5 | 2012-08-17 16:59:12 -0700 | [diff] [blame] | 36 | <uses-permission android:name="android.permission.WAKE_LOCK" /> |
| 37 | <uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" /> |
| 38 | <uses-permission android:name="android.permission.WRITE_SETTINGS" /> |
| 39 | <uses-permission android:name="android.permission.USE_CREDENTIALS" /> |
| 40 | <uses-permission android:name="android.permission.VIBRATE" /> |
| 41 | <uses-permission android:name="android.permission.READ_SYNC_SETTINGS" /> |
| 42 | <uses-permission android:name="com.android.voicemail.permission.ADD_VOICEMAIL" /> |
| 43 | <uses-permission android:name="com.android.voicemail.permission.READ_WRITE_ALL_VOICEMAIL" /> |
| 44 | <uses-permission android:name="android.permission.ALLOW_ANY_CODEC_FOR_PLAYBACK" /> |
| 45 | <uses-permission android:name="com.android.launcher.permission.INSTALL_SHORTCUT"/> |
| 46 | <!-- allow broadcasting secret code intents that reboot the phone --> |
| 47 | <uses-permission android:name="android.permission.REBOOT" /> |
| 48 | <uses-permission android:name="android.permission.RECEIVE_BOOT_COMPLETED" /> |
Christine Chen | 28eb2f1 | 2013-10-07 11:44:06 -0700 | [diff] [blame] | 49 | <!-- This tells the activity manager to not delay any of our activity |
| 50 | start requests, even if they happen immediately after the user |
| 51 | presses home. --> |
| 52 | <uses-permission android:name="android.permission.STOP_APP_SWITCHES" /> |
Chiao Cheng | 94b10b5 | 2012-08-17 16:59:12 -0700 | [diff] [blame] | 53 | |
| 54 | <application |
Alon Albert | 05de701 | 2013-08-22 11:26:28 -0700 | [diff] [blame] | 55 | android:name="DialerApplication" |
Chiao Cheng | 94b10b5 | 2012-08-17 16:59:12 -0700 | [diff] [blame] | 56 | android:label="@string/applicationLabel" |
Chiao Cheng | 437afcc | 2012-11-09 15:18:21 -0800 | [diff] [blame] | 57 | android:icon="@mipmap/ic_launcher_phone" |
Fabrice Di Meglio | c341db0 | 2013-04-03 21:11:37 -0700 | [diff] [blame] | 58 | android:hardwareAccelerated="true" |
Christine Chen | 9c1e065 | 2013-05-23 15:40:19 -0700 | [diff] [blame] | 59 | android:supportsRtl="true" |
| 60 | android:backupAgent='com.android.dialer.DialerBackupAgent'> |
| 61 | |
| 62 | <meta-data android:name="com.google.android.backup.api_key" |
| 63 | android:value="AEdPqrEAAAAIBXgtCEKQ6W0PXVnW-ZVia2KmlV2AxsTw3GjAeQ" /> |
Chiao Cheng | 94b10b5 | 2012-08-17 16:59:12 -0700 | [diff] [blame] | 64 | |
Chiao Cheng | 94b10b5 | 2012-08-17 16:59:12 -0700 | [diff] [blame] | 65 | <!-- The entrance point for Phone UI. |
| 66 | stateAlwaysHidden is set to suppress keyboard show up on |
| 67 | dialpad screen. --> |
| 68 | <activity android:name=".DialtactsActivity" |
| 69 | android:label="@string/launcherDialer" |
Yorke Lee | 8dd6200 | 2013-08-08 15:57:20 -0700 | [diff] [blame] | 70 | android:theme="@style/DialtactsTheme" |
Chiao Cheng | 94b10b5 | 2012-08-17 16:59:12 -0700 | [diff] [blame] | 71 | android:launchMode="singleTask" |
| 72 | android:clearTaskOnLaunch="true" |
| 73 | android:icon="@mipmap/ic_launcher_phone" |
Yorke Lee | 1b2758d | 2013-09-03 10:35:38 -0700 | [diff] [blame] | 74 | android:screenOrientation="portrait" |
Chiao Cheng | 94b10b5 | 2012-08-17 16:59:12 -0700 | [diff] [blame] | 75 | android:enabled="@*android:bool/config_voice_capable" |
Chiao Cheng | 94b10b5 | 2012-08-17 16:59:12 -0700 | [diff] [blame] | 76 | android:windowSoftInputMode="stateAlwaysHidden|adjustNothing"> |
| 77 | <intent-filter> |
| 78 | <action android:name="android.intent.action.DIAL" /> |
| 79 | <category android:name="android.intent.category.DEFAULT" /> |
| 80 | <category android:name="android.intent.category.BROWSABLE" /> |
| 81 | <data android:mimeType="vnd.android.cursor.item/phone" /> |
| 82 | <data android:mimeType="vnd.android.cursor.item/person" /> |
| 83 | </intent-filter> |
| 84 | <intent-filter> |
| 85 | <action android:name="android.intent.action.DIAL" /> |
| 86 | <category android:name="android.intent.category.DEFAULT" /> |
| 87 | <category android:name="android.intent.category.BROWSABLE" /> |
| 88 | <data android:scheme="voicemail" /> |
| 89 | </intent-filter> |
| 90 | <intent-filter> |
| 91 | <action android:name="android.intent.action.DIAL" /> |
| 92 | <category android:name="android.intent.category.DEFAULT" /> |
| 93 | </intent-filter> |
| 94 | <intent-filter> |
| 95 | <action android:name="android.intent.action.MAIN" /> |
| 96 | <category android:name="android.intent.category.DEFAULT" /> |
| 97 | <category android:name="android.intent.category.LAUNCHER" /> |
| 98 | <category android:name="android.intent.category.BROWSABLE" /> |
| 99 | </intent-filter> |
| 100 | <intent-filter> |
| 101 | <action android:name="android.intent.action.VIEW" /> |
| 102 | <action android:name="android.intent.action.DIAL" /> |
| 103 | <category android:name="android.intent.category.DEFAULT" /> |
| 104 | <category android:name="android.intent.category.BROWSABLE" /> |
| 105 | <data android:scheme="tel" /> |
| 106 | </intent-filter> |
| 107 | <intent-filter> |
Chiao Cheng | 94b10b5 | 2012-08-17 16:59:12 -0700 | [diff] [blame] | 108 | <action android:name="android.intent.action.CALL_BUTTON" /> |
| 109 | <category android:name="android.intent.category.DEFAULT" /> |
| 110 | <category android:name="android.intent.category.BROWSABLE" /> |
| 111 | </intent-filter> |
| 112 | <!-- This was never intended to be public, but is here for backward |
| 113 | compatibility. Use Intent.ACTION_DIAL instead. --> |
| 114 | <intent-filter> |
| 115 | <action android:name="com.android.phone.action.TOUCH_DIALER" /> |
| 116 | <category android:name="android.intent.category.DEFAULT" /> |
| 117 | <category android:name="android.intent.category.TAB" /> |
| 118 | </intent-filter> |
| 119 | <intent-filter android:label="@string/recentCallsIconLabel"> |
| 120 | <action android:name="com.android.phone.action.RECENT_CALLS" /> |
| 121 | <category android:name="android.intent.category.DEFAULT" /> |
| 122 | <category android:name="android.intent.category.TAB" /> |
| 123 | </intent-filter> |
| 124 | </activity> |
| 125 | |
Yorke Lee | c376633 | 2013-07-31 11:13:16 -0700 | [diff] [blame] | 126 | <activity android:name="com.android.dialer.calllog.CallLogActivity" |
| 127 | android:label="@string/call_log_activity_title" |
Yorke Lee | 63e1155 | 2013-09-10 14:15:38 -0700 | [diff] [blame] | 128 | android:theme="@style/DialtactsThemeWithActionBarOverlay" |
Yorke Lee | c376633 | 2013-07-31 11:13:16 -0700 | [diff] [blame] | 129 | android:screenOrientation="portrait" |
| 130 | android:icon="@mipmap/ic_launcher_phone"> |
Yorke Lee | dfb2eee | 2013-06-26 18:24:32 -0700 | [diff] [blame] | 131 | <intent-filter> |
| 132 | <action android:name="android.intent.action.VIEW" /> |
Yorke Lee | dfb2eee | 2013-06-26 18:24:32 -0700 | [diff] [blame] | 133 | <category android:name="android.intent.category.DEFAULT" /> |
| 134 | <category android:name="android.intent.category.BROWSABLE" /> |
Yorke Lee | c376633 | 2013-07-31 11:13:16 -0700 | [diff] [blame] | 135 | <data android:mimeType="vnd.android.cursor.dir/calls" /> |
Yorke Lee | dfb2eee | 2013-06-26 18:24:32 -0700 | [diff] [blame] | 136 | </intent-filter> |
Yorke Lee | dfb2eee | 2013-06-26 18:24:32 -0700 | [diff] [blame] | 137 | </activity> |
| 138 | |
Yorke Lee | 8dd6200 | 2013-08-08 15:57:20 -0700 | [diff] [blame] | 139 | <activity android:name="com.android.dialer.list.AllContactsActivity" |
| 140 | android:label="@string/show_all_contacts_title" |
Yorke Lee | 63e1155 | 2013-09-10 14:15:38 -0700 | [diff] [blame] | 141 | android:theme="@style/DialtactsThemeWithActionBarOverlay" |
Yorke Lee | 8dd6200 | 2013-08-08 15:57:20 -0700 | [diff] [blame] | 142 | android:screenOrientation="portrait"> |
| 143 | </activity> |
| 144 | |
Chiao Cheng | 94b10b5 | 2012-08-17 16:59:12 -0700 | [diff] [blame] | 145 | <activity android:name="com.android.dialer.CallDetailActivity" |
| 146 | android:label="@string/callDetailTitle" |
| 147 | android:theme="@style/CallDetailActivityTheme" |
| 148 | android:screenOrientation="portrait" |
| 149 | android:icon="@mipmap/ic_launcher_phone" |
Chiao Cheng | adb742c | 2013-10-07 17:46:25 -0700 | [diff] [blame] | 150 | android:parentActivityName="com.android.dialer.calllog.CallLogActivity" |
Chiao Cheng | 94b10b5 | 2012-08-17 16:59:12 -0700 | [diff] [blame] | 151 | > |
| 152 | <intent-filter> |
| 153 | <action android:name="android.intent.action.VIEW"/> |
| 154 | <category android:name="android.intent.category.DEFAULT"/> |
| 155 | <data android:mimeType="vnd.android.cursor.item/calls"/> |
| 156 | </intent-filter> |
| 157 | </activity> |
| 158 | |
| 159 | <activity android:name="com.android.contacts.common.test.FragmentTestActivity"> |
| 160 | <intent-filter> |
| 161 | <category android:name="android.intent.category.TEST"/> |
| 162 | </intent-filter> |
| 163 | </activity> |
| 164 | |
| 165 | <!-- Backwards compatibility: "Phone" from Gingerbread and earlier --> |
| 166 | <activity-alias android:name="DialtactsActivity" |
| 167 | android:targetActivity=".DialtactsActivity" |
| 168 | android:exported="true" |
| 169 | /> |
| 170 | |
| 171 | <!-- Backwards compatibility: "Call log" from Gingerbread and earlier --> |
| 172 | <activity-alias android:name="RecentCallsListActivity" |
| 173 | android:targetActivity=".DialtactsActivity" |
| 174 | android:exported="true" |
| 175 | /> |
| 176 | |
| 177 | <!-- Backwards compatibility: "Call log" from ICS --> |
| 178 | <activity-alias android:name=".activities.CallLogActivity" |
| 179 | android:targetActivity=".DialtactsActivity" |
| 180 | android:exported="true" |
| 181 | /> |
| 182 | |
Chiao Cheng | e1d6477 | 2012-10-29 18:32:25 -0700 | [diff] [blame] | 183 | <!-- Used to filter contacts list by account --> |
| 184 | <activity |
Chiao Cheng | 82d544d | 2012-11-30 13:32:24 -0800 | [diff] [blame] | 185 | android:name="com.android.contacts.common.list.AccountFilterActivity" |
Chiao Cheng | e1d6477 | 2012-10-29 18:32:25 -0700 | [diff] [blame] | 186 | android:label="@string/activity_title_contacts_filter" |
| 187 | android:theme="@style/ContactListFilterTheme"/> |
| 188 | |
| 189 | <!-- Used to select display and sync groups --> |
| 190 | <activity |
Chiao Cheng | 82d544d | 2012-11-30 13:32:24 -0800 | [diff] [blame] | 191 | android:name="com.android.contacts.common.list.CustomContactListFilterActivity" |
Chiao Cheng | e1d6477 | 2012-10-29 18:32:25 -0700 | [diff] [blame] | 192 | android:label="@string/custom_list_filter" |
| 193 | android:theme="@style/ContactListFilterTheme"/> |
| 194 | |
Chiao Cheng | 8378c57 | 2012-12-03 17:17:52 -0800 | [diff] [blame] | 195 | <!-- vCard related --> |
| 196 | <activity android:name="com.android.contacts.common.vcard.ImportVCardActivity" |
| 197 | android:configChanges="orientation|screenSize|keyboardHidden" |
| 198 | android:theme="@style/BackgroundOnlyTheme"> |
| 199 | <intent-filter> |
| 200 | <action android:name="android.intent.action.VIEW"/> |
| 201 | <data android:mimeType="text/directory"/> |
| 202 | <data android:mimeType="text/vcard"/> |
| 203 | <data android:mimeType="text/x-vcard"/> |
| 204 | <category android:name="android.intent.category.DEFAULT"/> |
| 205 | </intent-filter> |
| 206 | </activity> |
| 207 | |
| 208 | <activity android:name="com.android.contacts.common.vcard.NfcImportVCardActivity" |
| 209 | android:configChanges="orientation|screenSize|keyboardHidden" |
| 210 | android:theme="@style/BackgroundOnlyTheme"> |
| 211 | <intent-filter> |
| 212 | <action android:name="android.nfc.action.NDEF_DISCOVERED"/> |
| 213 | <data android:mimeType="text/vcard"/> |
| 214 | <data android:mimeType="text/x-vcard"/> |
| 215 | <category android:name="android.intent.category.DEFAULT"/> |
| 216 | </intent-filter> |
| 217 | </activity> |
| 218 | |
| 219 | <activity android:name="com.android.contacts.common.vcard.CancelActivity" |
| 220 | android:theme="@style/BackgroundOnlyTheme"/> |
| 221 | |
| 222 | <activity android:name="com.android.contacts.common.vcard.SelectAccountActivity" |
| 223 | android:theme="@style/BackgroundOnlyTheme"/> |
| 224 | |
| 225 | <activity android:name="com.android.contacts.common.vcard.ExportVCardActivity" |
| 226 | android:theme="@style/BackgroundOnlyTheme"/> |
| 227 | |
| 228 | <service |
| 229 | android:name="com.android.contacts.common.vcard.VCardService" |
| 230 | android:exported="false"/> |
| 231 | <!-- end vCard related --> |
| 232 | |
Chiao Cheng | 94b10b5 | 2012-08-17 16:59:12 -0700 | [diff] [blame] | 233 | <receiver android:name=".calllog.CallLogReceiver" |
| 234 | android:enabled="@*android:bool/config_voice_capable"> |
| 235 | <intent-filter> |
| 236 | <action android:name="android.intent.action.NEW_VOICEMAIL" /> |
| 237 | <data |
| 238 | android:scheme="content" |
| 239 | android:host="com.android.voicemail" |
| 240 | android:mimeType="vnd.android.cursor.item/voicemail" |
| 241 | /> |
| 242 | </intent-filter> |
| 243 | <intent-filter android:priority="100"> |
| 244 | <action android:name="android.intent.action.BOOT_COMPLETED"/> |
| 245 | </intent-filter> |
| 246 | </receiver> |
| 247 | |
Yorke Lee | 1197d33 | 2013-08-14 08:55:53 -0700 | [diff] [blame] | 248 | <receiver android:name=".interactions.UndemoteOutgoingCallReceiver"> |
| 249 | <intent-filter> |
| 250 | <action android:name="android.intent.action.NEW_OUTGOING_CALL" /> |
| 251 | </intent-filter> |
| 252 | </receiver> |
| 253 | |
Chiao Cheng | 94b10b5 | 2012-08-17 16:59:12 -0700 | [diff] [blame] | 254 | <service |
| 255 | android:name=".calllog.CallLogNotificationsService" |
| 256 | android:exported="false" |
| 257 | /> |
Yorke Lee | 81e0da4 | 2013-01-30 14:56:19 -0800 | [diff] [blame] | 258 | |
| 259 | <!-- Service to update a contact --> |
| 260 | <service |
| 261 | android:name=".contact.ContactUpdateService" |
| 262 | android:exported="false" /> |
Santos Cordon | c286ae2 | 2013-09-03 15:58:07 -0700 | [diff] [blame] | 263 | |
| 264 | <!-- Main in-call UI activity. This is never launched directly |
| 265 | from outside the phone app; instead, it's either launched by |
| 266 | the OutgoingCallBroadcaster (for outgoing calls), or as the |
| 267 | fullScreenIntent of a notification (for incoming calls.) --> |
| 268 | <activity android:name="com.android.incallui.InCallActivity" |
| 269 | android:theme="@style/Theme.InCallScreen" |
Santos Cordon | e8c54f9 | 2013-09-04 15:33:51 -0700 | [diff] [blame] | 270 | android:label="@string/phoneAppLabel" |
Santos Cordon | c286ae2 | 2013-09-03 15:58:07 -0700 | [diff] [blame] | 271 | android:excludeFromRecents="true" |
| 272 | android:launchMode="singleInstance" |
| 273 | android:screenOrientation="nosensor" |
| 274 | android:configChanges="keyboardHidden" |
| 275 | android:exported="false" |
| 276 | android:process="com.android.incallui"> |
| 277 | </activity> |
| 278 | |
| 279 | <service android:name="com.android.incallui.CallHandlerService" |
Yorke Lee | f0e8ea3 | 2013-09-16 14:33:52 -0700 | [diff] [blame] | 280 | android:process="com.android.incallui" |
| 281 | android:permission="android.permission.BIND_CALL_SERVICE"> |
Santos Cordon | c286ae2 | 2013-09-03 15:58:07 -0700 | [diff] [blame] | 282 | <intent-filter> |
| 283 | <action android:name="com.android.services.telephony.common.ICallHandlerService" /> |
| 284 | </intent-filter> |
| 285 | </service> |
| 286 | |
| 287 | <!-- BroadcastReceiver for receiving Intents from Notification mechanism. --> |
| 288 | <receiver android:name="com.android.incallui.InCallApp$NotificationBroadcastReceiver" |
| 289 | android:exported="false" |
| 290 | android:process="com.android.incallui"> |
| 291 | <intent-filter> |
| 292 | <action android:name="com.android.incallui.ACTION_HANG_UP_ONGOING_CALL" /> |
| 293 | </intent-filter> |
| 294 | </receiver> |
| 295 | |
Chiao Cheng | 94b10b5 | 2012-08-17 16:59:12 -0700 | [diff] [blame] | 296 | </application> |
| 297 | </manifest> |