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