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 | |
| 21 | <uses-permission android:name="android.permission.CALL_PRIVILEGED" /> |
| 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" /> |
| 43 | <uses-permission android:name="com.android.voicemail.permission.ADD_VOICEMAIL" /> |
Yorke Lee | 6326c58 | 2014-06-27 15:51:35 -0700 | [diff] [blame] | 44 | <uses-permission android:name="com.android.voicemail.permission.MANAGE_VOICEMAIL" /> |
| 45 | <uses-permission android:name="com.android.voicemail.permission.READ_ALL_VOICEMAIL" /> |
Chiao Cheng | 94b10b5 | 2012-08-17 16:59:12 -0700 | [diff] [blame] | 46 | <uses-permission android:name="android.permission.ALLOW_ANY_CODEC_FOR_PLAYBACK" /> |
| 47 | <uses-permission android:name="com.android.launcher.permission.INSTALL_SHORTCUT"/> |
Chiao Cheng | 94b10b5 | 2012-08-17 16:59:12 -0700 | [diff] [blame] | 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 | be10b41 | 2014-04-23 19:14:12 -0700 | [diff] [blame] | 70 | android:theme="@style/DialtactsActivityTheme" |
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" |
Chiao Cheng | 94b10b5 | 2012-08-17 16:59:12 -0700 | [diff] [blame] | 74 | android:enabled="@*android:bool/config_voice_capable" |
Chiao Cheng | 94b10b5 | 2012-08-17 16:59:12 -0700 | [diff] [blame] | 75 | android:windowSoftInputMode="stateAlwaysHidden|adjustNothing"> |
| 76 | <intent-filter> |
| 77 | <action android:name="android.intent.action.DIAL" /> |
| 78 | <category android:name="android.intent.category.DEFAULT" /> |
| 79 | <category android:name="android.intent.category.BROWSABLE" /> |
| 80 | <data android:mimeType="vnd.android.cursor.item/phone" /> |
| 81 | <data android:mimeType="vnd.android.cursor.item/person" /> |
| 82 | </intent-filter> |
| 83 | <intent-filter> |
| 84 | <action android:name="android.intent.action.DIAL" /> |
| 85 | <category android:name="android.intent.category.DEFAULT" /> |
| 86 | <category android:name="android.intent.category.BROWSABLE" /> |
| 87 | <data android:scheme="voicemail" /> |
| 88 | </intent-filter> |
| 89 | <intent-filter> |
| 90 | <action android:name="android.intent.action.DIAL" /> |
| 91 | <category android:name="android.intent.category.DEFAULT" /> |
| 92 | </intent-filter> |
| 93 | <intent-filter> |
| 94 | <action android:name="android.intent.action.MAIN" /> |
| 95 | <category android:name="android.intent.category.DEFAULT" /> |
| 96 | <category android:name="android.intent.category.LAUNCHER" /> |
| 97 | <category android:name="android.intent.category.BROWSABLE" /> |
| 98 | </intent-filter> |
| 99 | <intent-filter> |
| 100 | <action android:name="android.intent.action.VIEW" /> |
| 101 | <action android:name="android.intent.action.DIAL" /> |
| 102 | <category android:name="android.intent.category.DEFAULT" /> |
| 103 | <category android:name="android.intent.category.BROWSABLE" /> |
| 104 | <data android:scheme="tel" /> |
| 105 | </intent-filter> |
| 106 | <intent-filter> |
Chiao Cheng | 94b10b5 | 2012-08-17 16:59:12 -0700 | [diff] [blame] | 107 | <action android:name="android.intent.action.CALL_BUTTON" /> |
| 108 | <category android:name="android.intent.category.DEFAULT" /> |
| 109 | <category android:name="android.intent.category.BROWSABLE" /> |
| 110 | </intent-filter> |
| 111 | <!-- This was never intended to be public, but is here for backward |
| 112 | compatibility. Use Intent.ACTION_DIAL instead. --> |
| 113 | <intent-filter> |
| 114 | <action android:name="com.android.phone.action.TOUCH_DIALER" /> |
| 115 | <category android:name="android.intent.category.DEFAULT" /> |
| 116 | <category android:name="android.intent.category.TAB" /> |
| 117 | </intent-filter> |
| 118 | <intent-filter android:label="@string/recentCallsIconLabel"> |
| 119 | <action android:name="com.android.phone.action.RECENT_CALLS" /> |
| 120 | <category android:name="android.intent.category.DEFAULT" /> |
| 121 | <category android:name="android.intent.category.TAB" /> |
| 122 | </intent-filter> |
| 123 | </activity> |
| 124 | |
Yorke Lee | c376633 | 2013-07-31 11:13:16 -0700 | [diff] [blame] | 125 | <activity android:name="com.android.dialer.calllog.CallLogActivity" |
| 126 | android:label="@string/call_log_activity_title" |
Yorke Lee | 86e21f7 | 2014-04-02 16:49:38 -0700 | [diff] [blame] | 127 | android:theme="@style/DialtactsThemeWithoutActionBarOverlay" |
Yorke Lee | c376633 | 2013-07-31 11:13:16 -0700 | [diff] [blame] | 128 | android:icon="@mipmap/ic_launcher_phone"> |
Yorke Lee | dfb2eee | 2013-06-26 18:24:32 -0700 | [diff] [blame] | 129 | <intent-filter> |
| 130 | <action android:name="android.intent.action.VIEW" /> |
Yorke Lee | dfb2eee | 2013-06-26 18:24:32 -0700 | [diff] [blame] | 131 | <category android:name="android.intent.category.DEFAULT" /> |
| 132 | <category android:name="android.intent.category.BROWSABLE" /> |
Yorke Lee | c376633 | 2013-07-31 11:13:16 -0700 | [diff] [blame] | 133 | <data android:mimeType="vnd.android.cursor.dir/calls" /> |
Yorke Lee | dfb2eee | 2013-06-26 18:24:32 -0700 | [diff] [blame] | 134 | </intent-filter> |
Yorke Lee | dfb2eee | 2013-06-26 18:24:32 -0700 | [diff] [blame] | 135 | </activity> |
| 136 | |
Chiao Cheng | 94b10b5 | 2012-08-17 16:59:12 -0700 | [diff] [blame] | 137 | <activity android:name="com.android.dialer.CallDetailActivity" |
| 138 | android:label="@string/callDetailTitle" |
| 139 | android:theme="@style/CallDetailActivityTheme" |
Chiao Cheng | 94b10b5 | 2012-08-17 16:59:12 -0700 | [diff] [blame] | 140 | android:icon="@mipmap/ic_launcher_phone" |
Chiao Cheng | adb742c | 2013-10-07 17:46:25 -0700 | [diff] [blame] | 141 | android:parentActivityName="com.android.dialer.calllog.CallLogActivity" |
Chiao Cheng | 94b10b5 | 2012-08-17 16:59:12 -0700 | [diff] [blame] | 142 | > |
| 143 | <intent-filter> |
| 144 | <action android:name="android.intent.action.VIEW"/> |
| 145 | <category android:name="android.intent.category.DEFAULT"/> |
| 146 | <data android:mimeType="vnd.android.cursor.item/calls"/> |
| 147 | </intent-filter> |
| 148 | </activity> |
| 149 | |
| 150 | <activity android:name="com.android.contacts.common.test.FragmentTestActivity"> |
| 151 | <intent-filter> |
| 152 | <category android:name="android.intent.category.TEST"/> |
| 153 | </intent-filter> |
| 154 | </activity> |
| 155 | |
| 156 | <!-- Backwards compatibility: "Phone" from Gingerbread and earlier --> |
| 157 | <activity-alias android:name="DialtactsActivity" |
| 158 | android:targetActivity=".DialtactsActivity" |
| 159 | android:exported="true" |
| 160 | /> |
| 161 | |
| 162 | <!-- Backwards compatibility: "Call log" from Gingerbread and earlier --> |
| 163 | <activity-alias android:name="RecentCallsListActivity" |
| 164 | android:targetActivity=".DialtactsActivity" |
| 165 | android:exported="true" |
| 166 | /> |
| 167 | |
| 168 | <!-- Backwards compatibility: "Call log" from ICS --> |
| 169 | <activity-alias android:name=".activities.CallLogActivity" |
| 170 | android:targetActivity=".DialtactsActivity" |
| 171 | android:exported="true" |
| 172 | /> |
| 173 | |
Chiao Cheng | e1d6477 | 2012-10-29 18:32:25 -0700 | [diff] [blame] | 174 | <!-- Used to filter contacts list by account --> |
| 175 | <activity |
Chiao Cheng | 82d544d | 2012-11-30 13:32:24 -0800 | [diff] [blame] | 176 | android:name="com.android.contacts.common.list.AccountFilterActivity" |
Chiao Cheng | e1d6477 | 2012-10-29 18:32:25 -0700 | [diff] [blame] | 177 | android:label="@string/activity_title_contacts_filter" |
| 178 | android:theme="@style/ContactListFilterTheme"/> |
| 179 | |
| 180 | <!-- Used to select display and sync groups --> |
| 181 | <activity |
Chiao Cheng | 82d544d | 2012-11-30 13:32:24 -0800 | [diff] [blame] | 182 | android:name="com.android.contacts.common.list.CustomContactListFilterActivity" |
Chiao Cheng | e1d6477 | 2012-10-29 18:32:25 -0700 | [diff] [blame] | 183 | android:label="@string/custom_list_filter" |
| 184 | android:theme="@style/ContactListFilterTheme"/> |
| 185 | |
Chiao Cheng | 8378c57 | 2012-12-03 17:17:52 -0800 | [diff] [blame] | 186 | <!-- vCard related --> |
| 187 | <activity android:name="com.android.contacts.common.vcard.ImportVCardActivity" |
| 188 | android:configChanges="orientation|screenSize|keyboardHidden" |
| 189 | android:theme="@style/BackgroundOnlyTheme"> |
| 190 | <intent-filter> |
| 191 | <action android:name="android.intent.action.VIEW"/> |
| 192 | <data android:mimeType="text/directory"/> |
| 193 | <data android:mimeType="text/vcard"/> |
| 194 | <data android:mimeType="text/x-vcard"/> |
| 195 | <category android:name="android.intent.category.DEFAULT"/> |
| 196 | </intent-filter> |
| 197 | </activity> |
| 198 | |
| 199 | <activity android:name="com.android.contacts.common.vcard.NfcImportVCardActivity" |
| 200 | android:configChanges="orientation|screenSize|keyboardHidden" |
| 201 | android:theme="@style/BackgroundOnlyTheme"> |
| 202 | <intent-filter> |
| 203 | <action android:name="android.nfc.action.NDEF_DISCOVERED"/> |
| 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.CancelActivity" |
| 211 | android:theme="@style/BackgroundOnlyTheme"/> |
| 212 | |
| 213 | <activity android:name="com.android.contacts.common.vcard.SelectAccountActivity" |
| 214 | android:theme="@style/BackgroundOnlyTheme"/> |
| 215 | |
| 216 | <activity android:name="com.android.contacts.common.vcard.ExportVCardActivity" |
| 217 | android:theme="@style/BackgroundOnlyTheme"/> |
| 218 | |
| 219 | <service |
| 220 | android:name="com.android.contacts.common.vcard.VCardService" |
| 221 | android:exported="false"/> |
| 222 | <!-- end vCard related --> |
| 223 | |
Chiao Cheng | 94b10b5 | 2012-08-17 16:59:12 -0700 | [diff] [blame] | 224 | <receiver android:name=".calllog.CallLogReceiver" |
| 225 | android:enabled="@*android:bool/config_voice_capable"> |
| 226 | <intent-filter> |
| 227 | <action android:name="android.intent.action.NEW_VOICEMAIL" /> |
| 228 | <data |
| 229 | android:scheme="content" |
| 230 | android:host="com.android.voicemail" |
| 231 | android:mimeType="vnd.android.cursor.item/voicemail" |
| 232 | /> |
| 233 | </intent-filter> |
| 234 | <intent-filter android:priority="100"> |
| 235 | <action android:name="android.intent.action.BOOT_COMPLETED"/> |
| 236 | </intent-filter> |
| 237 | </receiver> |
| 238 | |
Yorke Lee | 1197d33 | 2013-08-14 08:55:53 -0700 | [diff] [blame] | 239 | <receiver android:name=".interactions.UndemoteOutgoingCallReceiver"> |
| 240 | <intent-filter> |
| 241 | <action android:name="android.intent.action.NEW_OUTGOING_CALL" /> |
| 242 | </intent-filter> |
| 243 | </receiver> |
| 244 | |
Chiao Cheng | 94b10b5 | 2012-08-17 16:59:12 -0700 | [diff] [blame] | 245 | <service |
| 246 | android:name=".calllog.CallLogNotificationsService" |
| 247 | android:exported="false" |
| 248 | /> |
Yorke Lee | 81e0da4 | 2013-01-30 14:56:19 -0800 | [diff] [blame] | 249 | |
| 250 | <!-- Service to update a contact --> |
| 251 | <service |
| 252 | android:name=".contact.ContactUpdateService" |
| 253 | android:exported="false" /> |
Santos Cordon | c286ae2 | 2013-09-03 15:58:07 -0700 | [diff] [blame] | 254 | |
Yorke Lee | 294dadd | 2014-06-13 14:54:40 -0700 | [diff] [blame] | 255 | <!-- Broadcast receiver that passively listens to location updates --> |
| 256 | <receiver android:name="com.android.contacts.common.location.CountryDetector$LocationChangedReceiver"/> |
| 257 | |
| 258 | <!-- IntentService to update the user's current country --> |
| 259 | <service android:name="com.android.contacts.common.location.UpdateCountryService" |
| 260 | android:exported="false"/> |
| 261 | |
Santos Cordon | c286ae2 | 2013-09-03 15:58:07 -0700 | [diff] [blame] | 262 | <!-- Main in-call UI activity. This is never launched directly |
| 263 | from outside the phone app; instead, it's either launched by |
| 264 | the OutgoingCallBroadcaster (for outgoing calls), or as the |
| 265 | fullScreenIntent of a notification (for incoming calls.) --> |
| 266 | <activity android:name="com.android.incallui.InCallActivity" |
| 267 | android:theme="@style/Theme.InCallScreen" |
Santos Cordon | e8c54f9 | 2013-09-04 15:33:51 -0700 | [diff] [blame] | 268 | android:label="@string/phoneAppLabel" |
Santos Cordon | c286ae2 | 2013-09-03 15:58:07 -0700 | [diff] [blame] | 269 | android:excludeFromRecents="true" |
| 270 | android:launchMode="singleInstance" |
Santos Cordon | c286ae2 | 2013-09-03 15:58:07 -0700 | [diff] [blame] | 271 | android:configChanges="keyboardHidden" |
| 272 | android:exported="false" |
Sai Cheemalapati | 87ab5bf | 2014-07-15 10:51:53 -0700 | [diff] [blame^] | 273 | android:process="com.android.incallui" |
| 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" |
| 279 | android:exported="false" |
| 280 | android:process="com.android.incallui"> |
| 281 | <intent-filter> |
| 282 | <action android:name="com.android.incallui.ACTION_HANG_UP_ONGOING_CALL" /> |
| 283 | </intent-filter> |
| 284 | </receiver> |
| 285 | |
Santos Cordon | 77cecf2 | 2014-06-26 14:50:10 -0700 | [diff] [blame] | 286 | <service android:name="com.android.incallui.InCallServiceImpl" |
| 287 | android:process="com.android.incallui"> |
| 288 | <intent-filter> |
| 289 | <action android:name="android.telecomm.InCallService"/> |
| 290 | </intent-filter> |
| 291 | </service> |
Chiao Cheng | 94b10b5 | 2012-08-17 16:59:12 -0700 | [diff] [blame] | 292 | </application> |
| 293 | </manifest> |