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" |
Jay Shrauner | 57ccf01 | 2014-03-21 14:12:36 -0700 | [diff] [blame] | 18 | package="com.android.dialer" |
| 19 | coreApp="true"> |
Chiao Cheng | 94b10b5 | 2012-08-17 16:59:12 -0700 | [diff] [blame] | 20 | |
Yorke Lee | 72d5961 | 2014-07-18 09:08:51 -0700 | [diff] [blame] | 21 | <uses-permission android:name="android.permission.CALL_PHONE" /> |
Chiao Cheng | 94b10b5 | 2012-08-17 16:59:12 -0700 | [diff] [blame] | 22 | <uses-permission android:name="android.permission.READ_CONTACTS" /> |
| 23 | <uses-permission android:name="android.permission.WRITE_CONTACTS" /> |
| 24 | <uses-permission android:name="android.permission.READ_CALL_LOG" /> |
| 25 | <uses-permission android:name="android.permission.WRITE_CALL_LOG" /> |
Yorke Lee | 7d66134 | 2013-11-07 12:11:13 -0800 | [diff] [blame] | 26 | <uses-permission android:name="android.permission.READ_PROFILE" /> |
Chiao Cheng | 94b10b5 | 2012-08-17 16:59:12 -0700 | [diff] [blame] | 27 | <uses-permission android:name="android.permission.MANAGE_ACCOUNTS" /> |
| 28 | <uses-permission android:name="android.permission.GET_ACCOUNTS" /> |
| 29 | <uses-permission android:name="android.permission.ACCESS_FINE_LOCATION" /> |
| 30 | <uses-permission android:name="android.permission.ACCESS_COARSE_LOCATION" /> |
Chiao Cheng | 94b10b5 | 2012-08-17 16:59:12 -0700 | [diff] [blame] | 31 | <uses-permission android:name="android.permission.INTERNET" /> |
Yorke Lee | 1197d33 | 2013-08-14 08:55:53 -0700 | [diff] [blame] | 32 | <uses-permission android:name="android.permission.PROCESS_OUTGOING_CALLS"/> |
Chiao Cheng | 94b10b5 | 2012-08-17 16:59:12 -0700 | [diff] [blame] | 33 | <uses-permission android:name="android.permission.NFC" /> |
| 34 | <uses-permission android:name="android.permission.READ_PHONE_STATE" /> |
| 35 | <uses-permission android:name="android.permission.MODIFY_AUDIO_SETTINGS" /> |
| 36 | <uses-permission android:name="android.permission.MODIFY_PHONE_STATE" /> |
Chiao Cheng | 94b10b5 | 2012-08-17 16:59:12 -0700 | [diff] [blame] | 37 | <uses-permission android:name="android.permission.WAKE_LOCK" /> |
| 38 | <uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" /> |
| 39 | <uses-permission android:name="android.permission.WRITE_SETTINGS" /> |
| 40 | <uses-permission android:name="android.permission.USE_CREDENTIALS" /> |
| 41 | <uses-permission android:name="android.permission.VIBRATE" /> |
| 42 | <uses-permission android:name="android.permission.READ_SYNC_SETTINGS" /> |
Tyler Gunn | 5426851 | 2014-08-18 16:24:05 -0700 | [diff] [blame] | 43 | <uses-permission android:name="android.permission.CONTROL_INCALL_EXPERIENCE" /> |
Chiao Cheng | 94b10b5 | 2012-08-17 16:59:12 -0700 | [diff] [blame] | 44 | <uses-permission android:name="com.android.voicemail.permission.ADD_VOICEMAIL" /> |
Yorke Lee | 2cb39a6 | 2014-07-18 16:36:21 -0700 | [diff] [blame] | 45 | <uses-permission android:name="com.android.voicemail.permission.WRITE_VOICEMAIL" /> |
| 46 | <uses-permission android:name="com.android.voicemail.permission.READ_VOICEMAIL" /> |
Chiao Cheng | 94b10b5 | 2012-08-17 16:59:12 -0700 | [diff] [blame] | 47 | <uses-permission android:name="android.permission.ALLOW_ANY_CODEC_FOR_PLAYBACK" /> |
| 48 | <uses-permission android:name="com.android.launcher.permission.INSTALL_SHORTCUT"/> |
Chiao Cheng | 94b10b5 | 2012-08-17 16:59:12 -0700 | [diff] [blame] | 49 | <uses-permission android:name="android.permission.RECEIVE_BOOT_COMPLETED" /> |
Christine Chen | 28eb2f1 | 2013-10-07 11:44:06 -0700 | [diff] [blame] | 50 | <!-- This tells the activity manager to not delay any of our activity |
| 51 | start requests, even if they happen immediately after the user |
| 52 | presses home. --> |
| 53 | <uses-permission android:name="android.permission.STOP_APP_SWITCHES" /> |
Chiao Cheng | 94b10b5 | 2012-08-17 16:59:12 -0700 | [diff] [blame] | 54 | |
| 55 | <application |
Alon Albert | 05de701 | 2013-08-22 11:26:28 -0700 | [diff] [blame] | 56 | android:name="DialerApplication" |
Chiao Cheng | 94b10b5 | 2012-08-17 16:59:12 -0700 | [diff] [blame] | 57 | android:label="@string/applicationLabel" |
Chiao Cheng | 437afcc | 2012-11-09 15:18:21 -0800 | [diff] [blame] | 58 | android:icon="@mipmap/ic_launcher_phone" |
Fabrice Di Meglio | c341db0 | 2013-04-03 21:11:37 -0700 | [diff] [blame] | 59 | android:hardwareAccelerated="true" |
Christine Chen | 9c1e065 | 2013-05-23 15:40:19 -0700 | [diff] [blame] | 60 | android:supportsRtl="true" |
| 61 | android:backupAgent='com.android.dialer.DialerBackupAgent'> |
| 62 | |
| 63 | <meta-data android:name="com.google.android.backup.api_key" |
| 64 | android:value="AEdPqrEAAAAIBXgtCEKQ6W0PXVnW-ZVia2KmlV2AxsTw3GjAeQ" /> |
Chiao Cheng | 94b10b5 | 2012-08-17 16:59:12 -0700 | [diff] [blame] | 65 | |
Chiao Cheng | 94b10b5 | 2012-08-17 16:59:12 -0700 | [diff] [blame] | 66 | <!-- The entrance point for Phone UI. |
| 67 | stateAlwaysHidden is set to suppress keyboard show up on |
| 68 | dialpad screen. --> |
| 69 | <activity android:name=".DialtactsActivity" |
| 70 | android:label="@string/launcherDialer" |
Yorke Lee | be10b41 | 2014-04-23 19:14:12 -0700 | [diff] [blame] | 71 | android:theme="@style/DialtactsActivityTheme" |
Chiao Cheng | 94b10b5 | 2012-08-17 16:59:12 -0700 | [diff] [blame] | 72 | android:launchMode="singleTask" |
| 73 | android:clearTaskOnLaunch="true" |
| 74 | android:icon="@mipmap/ic_launcher_phone" |
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> |
Jorim Jaggi | da1da5d | 2014-07-25 22:13:24 +0200 | [diff] [blame] | 124 | <meta-data |
| 125 | android:name="com.android.keyguard.layout" |
| 126 | android:resource="@layout/keyguard_preview" /> |
Chiao Cheng | 94b10b5 | 2012-08-17 16:59:12 -0700 | [diff] [blame] | 127 | </activity> |
| 128 | |
Yorke Lee | af6f195 | 2014-07-14 19:13:16 -0700 | [diff] [blame] | 129 | <activity android:name="com.android.dialer.settings.DialerSettingsActivity" |
| 130 | android:label="@string/dialer_settings_label" |
| 131 | android:parentActivityName="com.android.dialer.DialtactsActivity" |
| 132 | android:theme="@style/SettingsStyle" |
| 133 | android:exported="false"> |
| 134 | </activity> |
| 135 | |
Yorke Lee | c376633 | 2013-07-31 11:13:16 -0700 | [diff] [blame] | 136 | <activity android:name="com.android.dialer.calllog.CallLogActivity" |
| 137 | android:label="@string/call_log_activity_title" |
Yorke Lee | 86e21f7 | 2014-04-02 16:49:38 -0700 | [diff] [blame] | 138 | android:theme="@style/DialtactsThemeWithoutActionBarOverlay" |
Yorke Lee | c376633 | 2013-07-31 11:13:16 -0700 | [diff] [blame] | 139 | android:icon="@mipmap/ic_launcher_phone"> |
Yorke Lee | dfb2eee | 2013-06-26 18:24:32 -0700 | [diff] [blame] | 140 | <intent-filter> |
| 141 | <action android:name="android.intent.action.VIEW" /> |
Yorke Lee | dfb2eee | 2013-06-26 18:24:32 -0700 | [diff] [blame] | 142 | <category android:name="android.intent.category.DEFAULT" /> |
| 143 | <category android:name="android.intent.category.BROWSABLE" /> |
Yorke Lee | c376633 | 2013-07-31 11:13:16 -0700 | [diff] [blame] | 144 | <data android:mimeType="vnd.android.cursor.dir/calls" /> |
Yorke Lee | dfb2eee | 2013-06-26 18:24:32 -0700 | [diff] [blame] | 145 | </intent-filter> |
Yorke Lee | dfb2eee | 2013-06-26 18:24:32 -0700 | [diff] [blame] | 146 | </activity> |
| 147 | |
Chiao Cheng | 94b10b5 | 2012-08-17 16:59:12 -0700 | [diff] [blame] | 148 | <activity android:name="com.android.dialer.CallDetailActivity" |
| 149 | android:label="@string/callDetailTitle" |
| 150 | android:theme="@style/CallDetailActivityTheme" |
Chiao Cheng | 94b10b5 | 2012-08-17 16:59:12 -0700 | [diff] [blame] | 151 | android:icon="@mipmap/ic_launcher_phone" |
Chiao Cheng | adb742c | 2013-10-07 17:46:25 -0700 | [diff] [blame] | 152 | android:parentActivityName="com.android.dialer.calllog.CallLogActivity" |
Chiao Cheng | 94b10b5 | 2012-08-17 16:59:12 -0700 | [diff] [blame] | 153 | > |
| 154 | <intent-filter> |
| 155 | <action android:name="android.intent.action.VIEW"/> |
| 156 | <category android:name="android.intent.category.DEFAULT"/> |
| 157 | <data android:mimeType="vnd.android.cursor.item/calls"/> |
| 158 | </intent-filter> |
| 159 | </activity> |
| 160 | |
| 161 | <activity android:name="com.android.contacts.common.test.FragmentTestActivity"> |
| 162 | <intent-filter> |
| 163 | <category android:name="android.intent.category.TEST"/> |
| 164 | </intent-filter> |
| 165 | </activity> |
| 166 | |
| 167 | <!-- Backwards compatibility: "Phone" from Gingerbread and earlier --> |
| 168 | <activity-alias android:name="DialtactsActivity" |
| 169 | android:targetActivity=".DialtactsActivity" |
| 170 | android:exported="true" |
| 171 | /> |
| 172 | |
| 173 | <!-- Backwards compatibility: "Call log" from Gingerbread and earlier --> |
| 174 | <activity-alias android:name="RecentCallsListActivity" |
| 175 | android:targetActivity=".DialtactsActivity" |
| 176 | android:exported="true" |
| 177 | /> |
| 178 | |
| 179 | <!-- Backwards compatibility: "Call log" from ICS --> |
| 180 | <activity-alias android:name=".activities.CallLogActivity" |
| 181 | android:targetActivity=".DialtactsActivity" |
| 182 | android:exported="true" |
| 183 | /> |
| 184 | |
Chiao Cheng | e1d6477 | 2012-10-29 18:32:25 -0700 | [diff] [blame] | 185 | <!-- Used to filter contacts list by account --> |
| 186 | <activity |
Chiao Cheng | 82d544d | 2012-11-30 13:32:24 -0800 | [diff] [blame] | 187 | android:name="com.android.contacts.common.list.AccountFilterActivity" |
Chiao Cheng | e1d6477 | 2012-10-29 18:32:25 -0700 | [diff] [blame] | 188 | android:label="@string/activity_title_contacts_filter" |
| 189 | android:theme="@style/ContactListFilterTheme"/> |
| 190 | |
| 191 | <!-- Used to select display and sync groups --> |
| 192 | <activity |
Chiao Cheng | 82d544d | 2012-11-30 13:32:24 -0800 | [diff] [blame] | 193 | android:name="com.android.contacts.common.list.CustomContactListFilterActivity" |
Chiao Cheng | e1d6477 | 2012-10-29 18:32:25 -0700 | [diff] [blame] | 194 | android:label="@string/custom_list_filter" |
| 195 | android:theme="@style/ContactListFilterTheme"/> |
| 196 | |
Chiao Cheng | 8378c57 | 2012-12-03 17:17:52 -0800 | [diff] [blame] | 197 | <!-- vCard related --> |
| 198 | <activity android:name="com.android.contacts.common.vcard.ImportVCardActivity" |
| 199 | android:configChanges="orientation|screenSize|keyboardHidden" |
| 200 | android:theme="@style/BackgroundOnlyTheme"> |
| 201 | <intent-filter> |
| 202 | <action android:name="android.intent.action.VIEW"/> |
| 203 | <data android:mimeType="text/directory"/> |
| 204 | <data android:mimeType="text/vcard"/> |
| 205 | <data android:mimeType="text/x-vcard"/> |
| 206 | <category android:name="android.intent.category.DEFAULT"/> |
| 207 | </intent-filter> |
| 208 | </activity> |
| 209 | |
| 210 | <activity android:name="com.android.contacts.common.vcard.NfcImportVCardActivity" |
| 211 | android:configChanges="orientation|screenSize|keyboardHidden" |
| 212 | android:theme="@style/BackgroundOnlyTheme"> |
| 213 | <intent-filter> |
| 214 | <action android:name="android.nfc.action.NDEF_DISCOVERED"/> |
| 215 | <data android:mimeType="text/vcard"/> |
| 216 | <data android:mimeType="text/x-vcard"/> |
| 217 | <category android:name="android.intent.category.DEFAULT"/> |
| 218 | </intent-filter> |
| 219 | </activity> |
| 220 | |
| 221 | <activity android:name="com.android.contacts.common.vcard.CancelActivity" |
| 222 | android:theme="@style/BackgroundOnlyTheme"/> |
| 223 | |
| 224 | <activity android:name="com.android.contacts.common.vcard.SelectAccountActivity" |
| 225 | android:theme="@style/BackgroundOnlyTheme"/> |
| 226 | |
| 227 | <activity android:name="com.android.contacts.common.vcard.ExportVCardActivity" |
| 228 | android:theme="@style/BackgroundOnlyTheme"/> |
| 229 | |
| 230 | <service |
| 231 | android:name="com.android.contacts.common.vcard.VCardService" |
| 232 | android:exported="false"/> |
| 233 | <!-- end vCard related --> |
| 234 | |
Chiao Cheng | 94b10b5 | 2012-08-17 16:59:12 -0700 | [diff] [blame] | 235 | <receiver android:name=".calllog.CallLogReceiver" |
| 236 | android:enabled="@*android:bool/config_voice_capable"> |
| 237 | <intent-filter> |
| 238 | <action android:name="android.intent.action.NEW_VOICEMAIL" /> |
| 239 | <data |
| 240 | android:scheme="content" |
| 241 | android:host="com.android.voicemail" |
| 242 | android:mimeType="vnd.android.cursor.item/voicemail" |
| 243 | /> |
| 244 | </intent-filter> |
| 245 | <intent-filter android:priority="100"> |
| 246 | <action android:name="android.intent.action.BOOT_COMPLETED"/> |
| 247 | </intent-filter> |
| 248 | </receiver> |
| 249 | |
Yorke Lee | 1197d33 | 2013-08-14 08:55:53 -0700 | [diff] [blame] | 250 | <receiver android:name=".interactions.UndemoteOutgoingCallReceiver"> |
| 251 | <intent-filter> |
| 252 | <action android:name="android.intent.action.NEW_OUTGOING_CALL" /> |
| 253 | </intent-filter> |
| 254 | </receiver> |
| 255 | |
Chiao Cheng | 94b10b5 | 2012-08-17 16:59:12 -0700 | [diff] [blame] | 256 | <service |
| 257 | android:name=".calllog.CallLogNotificationsService" |
| 258 | android:exported="false" |
| 259 | /> |
Yorke Lee | 81e0da4 | 2013-01-30 14:56:19 -0800 | [diff] [blame] | 260 | |
| 261 | <!-- Service to update a contact --> |
| 262 | <service |
| 263 | android:name=".contact.ContactUpdateService" |
| 264 | android:exported="false" /> |
Santos Cordon | c286ae2 | 2013-09-03 15:58:07 -0700 | [diff] [blame] | 265 | |
Yorke Lee | 294dadd | 2014-06-13 14:54:40 -0700 | [diff] [blame] | 266 | <!-- Broadcast receiver that passively listens to location updates --> |
| 267 | <receiver android:name="com.android.contacts.common.location.CountryDetector$LocationChangedReceiver"/> |
| 268 | |
| 269 | <!-- IntentService to update the user's current country --> |
| 270 | <service android:name="com.android.contacts.common.location.UpdateCountryService" |
| 271 | android:exported="false"/> |
| 272 | |
Santos Cordon | c286ae2 | 2013-09-03 15:58:07 -0700 | [diff] [blame] | 273 | <!-- Main in-call UI activity. This is never launched directly |
| 274 | from outside the phone app; instead, it's either launched by |
| 275 | the OutgoingCallBroadcaster (for outgoing calls), or as the |
| 276 | fullScreenIntent of a notification (for incoming calls.) --> |
| 277 | <activity android:name="com.android.incallui.InCallActivity" |
| 278 | android:theme="@style/Theme.InCallScreen" |
Santos Cordon | e8c54f9 | 2013-09-04 15:33:51 -0700 | [diff] [blame] | 279 | android:label="@string/phoneAppLabel" |
Santos Cordon | c286ae2 | 2013-09-03 15:58:07 -0700 | [diff] [blame] | 280 | android:excludeFromRecents="true" |
| 281 | android:launchMode="singleInstance" |
Santos Cordon | c286ae2 | 2013-09-03 15:58:07 -0700 | [diff] [blame] | 282 | android:configChanges="keyboardHidden" |
| 283 | android:exported="false" |
Sai Cheemalapati | 87ab5bf | 2014-07-15 10:51:53 -0700 | [diff] [blame] | 284 | android:process="com.android.incallui" |
Tyler Gunn | 1d86a48 | 2014-07-27 14:52:49 -0700 | [diff] [blame] | 285 | android:screenOrientation="sensor" > |
Santos Cordon | c286ae2 | 2013-09-03 15:58:07 -0700 | [diff] [blame] | 286 | </activity> |
| 287 | |
Santos Cordon | c286ae2 | 2013-09-03 15:58:07 -0700 | [diff] [blame] | 288 | <!-- BroadcastReceiver for receiving Intents from Notification mechanism. --> |
| 289 | <receiver android:name="com.android.incallui.InCallApp$NotificationBroadcastReceiver" |
| 290 | android:exported="false" |
| 291 | android:process="com.android.incallui"> |
| 292 | <intent-filter> |
| 293 | <action android:name="com.android.incallui.ACTION_HANG_UP_ONGOING_CALL" /> |
| 294 | </intent-filter> |
| 295 | </receiver> |
| 296 | |
Santos Cordon | 77cecf2 | 2014-06-26 14:50:10 -0700 | [diff] [blame] | 297 | <service android:name="com.android.incallui.InCallServiceImpl" |
Tyler Gunn | 5426851 | 2014-08-18 16:24:05 -0700 | [diff] [blame] | 298 | android:process="com.android.incallui" |
| 299 | android:permission="android.permission.BIND_INCALL_SERVICE" > |
Santos Cordon | 77cecf2 | 2014-06-26 14:50:10 -0700 | [diff] [blame] | 300 | <intent-filter> |
| 301 | <action android:name="android.telecomm.InCallService"/> |
| 302 | </intent-filter> |
| 303 | </service> |
Chiao Cheng | 94b10b5 | 2012-08-17 16:59:12 -0700 | [diff] [blame] | 304 | </application> |
| 305 | </manifest> |