1<?xml version="1.0" encoding="utf-8"?>
2<!-- Copyright (C) 2007 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"
18        xmlns:androidprv="http://schemas.android.com/apk/prv/res/android"
19        package="com.android.phone"
20        coreApp="true"
21        android:sharedUserId="android.uid.phone"
22        android:sharedUserLabel="@string/phoneAppLabel"
23>
24
25    <original-package android:name="com.android.phone" />
26
27    <protected-broadcast android:name="android.telecom.action.TTY_PREFERRED_MODE_CHANGED" />
28    <protected-broadcast android:name="android.telecom.action.CURRENT_TTY_MODE_CHANGED" />
29    <protected-broadcast android:name="android.intent.action.SERVICE_STATE" />
30    <protected-broadcast android:name="android.intent.action.RADIO_TECHNOLOGY" />
31    <protected-broadcast android:name="android.intent.action.EMERGENCY_CALLBACK_MODE_CHANGED" />
32    <protected-broadcast android:name="android.intent.action.EMERGENCY_CALL_STATE_CHANGED" />
33    <protected-broadcast android:name="android.intent.action.SIG_STR" />
34    <protected-broadcast android:name="android.intent.action.ANY_DATA_STATE" />
35    <protected-broadcast android:name="android.intent.action.DATA_STALL_DETECTED" />
36    <protected-broadcast android:name="android.intent.action.SIM_STATE_CHANGED" />
37    <protected-broadcast android:name="android.intent.action.USER_ACTIVITY_NOTIFICATION" />
38    <protected-broadcast android:name="android.telephony.action.SHOW_NOTICE_ECM_BLOCK_OTHERS" />
39    <protected-broadcast android:name="android.intent.action.ACTION_MDN_STATE_CHANGED" />
40    <protected-broadcast android:name="android.telephony.action.SERVICE_PROVIDERS_UPDATED" />
41    <protected-broadcast android:name="android.provider.Telephony.SIM_FULL" />
42    <protected-broadcast android:name="com.android.internal.telephony.data-restart-trysetup" />
43    <protected-broadcast android:name="com.android.internal.telephony.data-stall" />
44    <protected-broadcast android:name="android.intent.action.DATA_SMS_RECEIVED" />
45    <protected-broadcast android:name="android.provider.Telephony.SMS_RECEIVED" />
46    <protected-broadcast android:name="android.provider.Telephony.SMS_DELIVER" />
47    <protected-broadcast android:name="android.provider.Telephony.SMS_REJECTED" />
48    <protected-broadcast android:name="android.provider.Telephony.WAP_PUSH_DELIVER" />
49    <protected-broadcast android:name="android.provider.Telephony.WAP_PUSH_RECEIVED" />
50    <protected-broadcast android:name="android.provider.Telephony.SMS_CB_RECEIVED" />
51    <protected-broadcast android:name="android.provider.action.SMS_EMERGENCY_CB_RECEIVED" />
52    <protected-broadcast android:name="android.provider.Telephony.SMS_SERVICE_CATEGORY_PROGRAM_DATA_RECEIVED" />
53    <protected-broadcast android:name="android.provider.Telephony.SECRET_CODE" />
54    <protected-broadcast android:name= "com.android.internal.stk.command" />
55    <protected-broadcast android:name= "com.android.internal.stk.session_end" />
56    <protected-broadcast android:name= "com.android.internal.stk.icc_status_change" />
57    <protected-broadcast android:name= "com.android.internal.stk.alpha_notify" />
58    <protected-broadcast android:name= "com.android.internal.telephony.CARRIER_SIGNAL_REDIRECTED" />
59    <protected-broadcast android:name= "com.android.internal.telephony.CARRIER_SIGNAL_REQUEST_NETWORK_FAILED" />
60    <protected-broadcast android:name= "com.android.internal.telephony.CARRIER_SIGNAL_PCO_VALUE" />
61    <protected-broadcast android:name= "com.android.internal.telephony.CARRIER_SIGNAL_RESET" />
62    <protected-broadcast android:name= "com.android.internal.telephony.CARRIER_SIGNAL_DEFAULT_NETWORK_AVAILABLE" />
63    <protected-broadcast android:name= "com.android.internal.telephony.ACTION_LINE1_NUMBER_ERROR_DETECTED" />
64    <protected-broadcast android:name= "com.android.internal.provider.action.VOICEMAIL_SMS_RECEIVED" />
65    <protected-broadcast android:name= "com.android.intent.isim_refresh" />
66    <protected-broadcast android:name= "com.android.ims.ACTION_RCS_SERVICE_AVAILABLE" />
67    <protected-broadcast android:name= "com.android.ims.ACTION_RCS_SERVICE_UNAVAILABLE" />
68    <protected-broadcast android:name= "com.android.ims.ACTION_RCS_SERVICE_DIED" />
69    <protected-broadcast android:name= "com.android.ims.ACTION_PRESENCE_CHANGED" />
70    <protected-broadcast android:name= "com.android.ims.ACTION_PUBLISH_STATUS_CHANGED" />
71    <protected-broadcast android:name= "com.android.ims.IMS_SERVICE_UP" />
72    <protected-broadcast android:name= "com.android.ims.IMS_SERVICE_DOWN" />
73    <protected-broadcast android:name= "com.android.ims.IMS_INCOMING_CALL" />
74    <protected-broadcast android:name= "com.android.ims.internal.uce.UCE_SERVICE_UP" />
75    <protected-broadcast android:name= "com.android.ims.internal.uce.UCE_SERVICE_DOWN" />
76    <protected-broadcast android:name= "com.android.imsconnection.DISCONNECTED" />
77    <protected-broadcast android:name= "com.android.intent.action.IMS_FEATURE_CHANGED" />
78    <protected-broadcast android:name= "com.android.intent.action.IMS_CONFIG_CHANGED" />
79    <protected-broadcast android:name= "android.telephony.ims.action.WFC_IMS_REGISTRATION_ERROR" />
80    <protected-broadcast android:name= "com.android.phone.vvm.omtp.sms.REQUEST_SENT" />
81    <protected-broadcast android:name= "com.android.phone.vvm.ACTION_VISUAL_VOICEMAIL_SERVICE_EVENT" />
82    <protected-broadcast android:name= "com.android.internal.telephony.CARRIER_VVM_PACKAGE_INSTALLED" />
83    <protected-broadcast android:name= "com.android.cellbroadcastreceiver.GET_LATEST_CB_AREA_INFO" />
84    <protected-broadcast android:name= "com.android.internal.telephony.ACTION_CARRIER_CERTIFICATE_DOWNLOAD" />
85    <protected-broadcast android:name= "com.android.internal.telephony.OPEN_DEFAULT_SMS_APP" />
86    <protected-broadcast android:name= "android.telephony.action.SIM_CARD_STATE_CHANGED" />
87    <protected-broadcast android:name= "android.telephony.action.SIM_APPLICATION_STATE_CHANGED" />
88    <protected-broadcast android:name= "android.telephony.action.SIM_SLOT_STATUS_CHANGED" />
89    <protected-broadcast android:name= "android.telephony.action.SUBSCRIPTION_CARRIER_IDENTITY_CHANGED" />
90    <protected-broadcast android:name= "android.telephony.action.SUBSCRIPTION_SPECIFIC_CARRIER_IDENTITY_CHANGED" />
91    <protected-broadcast android:name= "android.telephony.action.NETWORK_COUNTRY_CHANGED" />
92    <protected-broadcast android:name= "android.telephony.action.PRIMARY_SUBSCRIPTION_LIST_CHANGED" />
93    <protected-broadcast android:name= "android.telephony.action.MULTI_SIM_CONFIG_CHANGED" />
94
95    <!-- For Vendor Debugging in Telephony -->
96    <protected-broadcast android:name="android.telephony.action.ANOMALY_REPORTED" />
97
98    <!-- Allows granting runtime permissions to telephony related components. -->
99    <uses-permission android:name="android.permission.GRANT_RUNTIME_PERMISSIONS_TO_TELEPHONY_DEFAULTS" />
100
101    <uses-permission android:name="android.permission.BROADCAST_STICKY" />
102    <uses-permission android:name="android.permission.CALL_PHONE" />
103    <uses-permission android:name="android.permission.CALL_PRIVILEGED" />
104    <!-- TELEPHONY_SECRET_CODE used to be sent by the Dialer app, but is now sent by
105         the phone process through an API added in O. Since the broadcast was unprotected prior to
106         O, apps may have required this permission (which only Dialer has) in their receivers.
107         So, declare this permission here for backwards compatibility so the phone process can send
108         the broadcasts to those same receivers. -->
109    <uses-permission android:name="android.permission.CONTROL_INCALL_EXPERIENCE" />
110    <uses-permission android:name="android.permission.DOWNLOAD_WITHOUT_NOTIFICATION" />
111    <uses-permission android:name="android.permission.WRITE_SETTINGS" />
112    <uses-permission android:name="android.permission.WRITE_SECURE_SETTINGS" />
113    <uses-permission android:name="android.permission.READ_CONTACTS" />
114    <uses-permission android:name="android.permission.READ_CALL_LOG" />
115    <uses-permission android:name="android.permission.WRITE_CONTACTS" />
116    <uses-permission android:name="android.permission.WRITE_CALL_LOG" />
117    <uses-permission android:name="android.permission.SYSTEM_ALERT_WINDOW" />
118    <uses-permission android:name="android.permission.INTERNAL_SYSTEM_WINDOW" />
119    <uses-permission android:name="android.permission.VIBRATE" />
120    <uses-permission android:name="android.permission.BLUETOOTH" />
121    <uses-permission android:name="android.permission.BLUETOOTH_ADMIN" />
122    <uses-permission android:name="android.permission.REORDER_TASKS" />
123    <uses-permission android:name="android.permission.CHANGE_CONFIGURATION" />
124    <uses-permission android:name="android.permission.WAKE_LOCK" />
125    <uses-permission android:name="android.permission.MODIFY_AUDIO_SETTINGS" />
126    <uses-permission android:name="android.permission.STATUS_BAR" />
127    <uses-permission android:name="android.permission.STATUS_BAR_SERVICE" />
128    <uses-permission android:name="android.permission.RECEIVE_SMS" />
129    <uses-permission android:name="android.permission.READ_SMS" />
130    <uses-permission android:name="android.permission.WRITE_SMS" />
131    <uses-permission android:name="android.permission.SEND_SMS" />
132    <uses-permission android:name="android.permission.SEND_RESPOND_VIA_MESSAGE" />
133    <uses-permission android:name="android.permission.SET_TIME_ZONE" />
134    <uses-permission android:name="android.permission.SUGGEST_TELEPHONY_TIME_AND_ZONE" />
135    <uses-permission android:name="android.permission.ACCESS_WIFI_STATE" />
136    <uses-permission android:name="android.permission.READ_PRIVILEGED_PHONE_STATE" />
137    <uses-permission android:name="android.permission.MODIFY_PHONE_STATE" />
138    <uses-permission android:name="android.permission.ACCESS_IMS_CALL_SERVICE" />
139    <uses-permission android:name="android.permission.DEVICE_POWER" />
140    <uses-permission android:name="android.permission.DISABLE_KEYGUARD" />
141    <uses-permission android:name="android.permission.INTERNET" />
142    <uses-permission android:name="android.permission.PROCESS_OUTGOING_CALLS" />
143    <uses-permission android:name="android.permission.ACCESS_COARSE_LOCATION" />
144    <uses-permission android:name="android.permission.ACCESS_FINE_LOCATION" />
145    <uses-permission android:name="android.permission.WRITE_APN_SETTINGS" />
146    <uses-permission android:name="android.permission.BROADCAST_SMS"/>
147    <uses-permission android:name="android.permission.BROADCAST_WAP_PUSH"/>
148    <uses-permission android:name="android.permission.CHANGE_WIFI_STATE"/>
149    <uses-permission android:name="android.permission.ACCESS_NETWORK_STATE"/>
150    <uses-permission android:name="android.permission.CHANGE_NETWORK_STATE"/>
151    <uses-permission android:name="android.permission.RECEIVE_BOOT_COMPLETED" />
152    <uses-permission android:name="android.permission.SHUTDOWN" />
153    <uses-permission android:name="android.permission.RECORD_AUDIO" />
154    <uses-permission android:name="android.permission.PERFORM_CDMA_PROVISIONING" />
155    <uses-permission android:name="android.permission.USE_SIP" />
156    <uses-permission android:name="android.permission.REBOOT" />
157    <uses-permission android:name="android.permission.UPDATE_LOCK" />
158    <uses-permission android:name="android.permission.INTERACT_ACROSS_USERS" />
159    <uses-permission android:name="android.permission.INTERACT_ACROSS_USERS_FULL" />
160    <uses-permission android:name="com.android.smspush.WAPPUSH_MANAGER_BIND" />
161    <uses-permission android:name="android.permission.MANAGE_USERS" />
162    <uses-permission android:name="android.permission.UPDATE_APP_OPS_STATS" />
163    <uses-permission android:name="android.permission.READ_CARRIER_APP_INFO" />
164    <uses-permission android:name="android.permission.MANAGE_APP_OPS_MODES" />
165    <uses-permission android:name="android.permission.CONNECTIVITY_USE_RESTRICTED_NETWORKS" />
166    <uses-permission android:name="android.permission.NETWORK_FACTORY" />
167    <uses-permission android:name="android.permission.OBSERVE_NETWORK_POLICY" />
168    <uses-permission android:name="android.permission.SET_PREFERRED_APPLICATIONS" />
169    <uses-permission android:name="android.permission.READ_SEARCH_INDEXABLES" />
170    <uses-permission android:name="android.permission.DUMP" />
171    <uses-permission android:name="android.permission.REGISTER_CALL_PROVIDER" />
172    <uses-permission android:name="android.permission.REGISTER_SIM_SUBSCRIPTION" />
173    <uses-permission android:name="android.permission.BIND_IMS_SERVICE" />
174    <uses-permission android:name="android.permission.BIND_CARRIER_SERVICES" />
175    <!-- BIND_CARRIER_MESSAGING_SERVICE has been deprecated in favor of BIND_CARRIER_SERVICES. -->
176    <uses-permission android:name="android.permission.BIND_CARRIER_MESSAGING_SERVICE" />
177    <uses-permission android:name="android.permission.BIND_EUICC_SERVICE" />
178    <uses-permission android:name="android.permission.BIND_TELEPHONY_NETWORK_SERVICE" />
179    <uses-permission android:name="android.permission.BIND_CELL_BROADCAST_SERVICE" />
180    <uses-permission android:name="android.permission.WRITE_EMBEDDED_SUBSCRIPTIONS" />
181    <uses-permission android:name="android.permission.READ_SYNC_SETTINGS" />
182    <uses-permission android:name="android.permission.WRITE_SYNC_SETTINGS" />
183    <uses-permission android:name="android.permission.AUTHENTICATE_ACCOUNTS" />
184    <uses-permission android:name="android.permission.MANAGE_ACCOUNTS" />
185    <uses-permission android:name="android.permission.GET_ACCOUNTS" />
186    <uses-permission android:name="com.android.voicemail.permission.ADD_VOICEMAIL" />
187    <uses-permission android:name="com.android.voicemail.permission.WRITE_VOICEMAIL" />
188    <uses-permission android:name="com.android.voicemail.permission.READ_VOICEMAIL" />
189    <uses-permission android:name="android.permission.BIND_VISUAL_VOICEMAIL_SERVICE"/>
190    <uses-permission android:name="android.permission.LOCAL_MAC_ADDRESS" />
191    <uses-permission android:name="android.permission.CHANGE_COMPONENT_ENABLED_STATE" />
192    <uses-permission android:name="android.permission.CHANGE_DEVICE_IDLE_TEMP_WHITELIST" />
193    <!-- Needed to block messages. -->
194    <uses-permission android:name="android.permission.READ_BLOCKED_NUMBERS" />
195    <!-- Needed for emergency contact notification. -->
196    <uses-permission android:name="android.permission.WRITE_BLOCKED_NUMBERS" />
197    <uses-permission android:name="android.permission.NETWORK_SETTINGS" />
198
199    <!-- Needed to register puller to statsd. -->
200    <uses-permission android:name="android.permission.REGISTER_STATS_PULL_ATOM" />
201
202    <!-- This tells the activity manager to not delay any of our activity
203         start requests, even if they happen immediately after the user
204         presses home. -->
205    <uses-permission android:name="android.permission.STOP_APP_SWITCHES" />
206    <uses-permission android:name="android.permission.UPDATE_DEVICE_STATS" />
207    <uses-permission android:name="android.permission.MANAGE_NETWORK_POLICY" />
208    <uses-permission android:name="android.permission.READ_NETWORK_USAGE_HISTORY" />
209    <uses-permission android:name="android.permission.BIND_TELEPHONY_DATA_SERVICE" />
210    <uses-permission android:name="android.permission.PACKAGE_USAGE_STATS" />
211    <uses-permission android:name="android.permission.READ_PRECISE_PHONE_STATE" />
212    <uses-permission android:name="android.permission.MANAGE_ROLE_HOLDERS" />
213    <!-- Allows us to whitelist receivers of the
214         ACTION_SIM_SLOT_STATUS_CHANGED broadcast to start activities
215         from the background.  -->
216    <uses-permission android:name="android.permission.START_ACTIVITIES_FROM_BACKGROUND" />
217    <uses-permission android:name="android.permission.NETWORK_STATS_PROVIDER" />
218
219    <application android:name="PhoneApp"
220            android:persistent="true"
221            android:label="@string/phoneAppLabel"
222            android:icon="@mipmap/ic_launcher_phone"
223            android:allowBackup="false"
224            android:supportsRtl="true"
225            android:usesCleartextTraffic="true"
226            android:defaultToDeviceProtectedStorage="true"
227            android:directBootAware="true">
228
229        <provider android:name="IccProvider"
230                android:authorities="icc"
231                android:multiprocess="true"
232                android:exported="true"
233                android:readPermission="android.permission.READ_CONTACTS"
234                android:writePermission="android.permission.WRITE_CONTACTS" />
235
236        <!-- Dialer UI that only allows emergency calls -->
237        <activity android:name="EmergencyDialer"
238            android:label="@string/emergencyDialerIconLabel"
239            android:theme="@style/EmergencyDialerTheme"
240            android:screenOrientation="portrait"
241            android:resizeableActivity="false">
242            <intent-filter>
243                <action android:name="com.android.phone.EmergencyDialer.DIAL" />
244                <category android:name="android.intent.category.DEFAULT" />
245            </intent-filter>
246            <intent-filter>
247                <action android:name="com.android.phone.EmergencyDialer.DIAL" />
248                <category android:name="android.intent.category.DEFAULT" />
249                <data android:scheme="tel" />
250            </intent-filter>
251            <intent-filter>
252                <action android:name="android.intent.action.DIAL_EMERGENCY" />
253                <category android:name="android.intent.category.DEFAULT" />
254            </intent-filter>
255            <intent-filter>
256                <action android:name="android.intent.action.DIAL_EMERGENCY" />
257                <category android:name="android.intent.category.DEFAULT" />
258                <data android:scheme="tel" />
259            </intent-filter>
260        </activity>
261
262        <activity android:name="ADNList" />
263
264        <activity android:name="SimContacts"
265            android:label="@string/simContacts_title"
266            android:theme="@style/SimImportTheme"
267            android:screenOrientation="portrait"
268            android:icon="@mipmap/ic_launcher_contacts">
269
270            <intent-filter>
271                <action android:name="android.intent.action.VIEW" />
272                <category android:name="android.intent.category.DEFAULT" />
273                <data android:mimeType="vnd.android.cursor.item/sim-contact" />
274            </intent-filter>
275        </activity>
276
277        <activity android:name="com.android.phone.settings.fdn.FdnList"
278                android:label="@string/fdnListLabel"
279                android:theme="@style/DialerSettingsLight">
280            <intent-filter>
281                <action android:name="android.intent.action.VIEW" />
282                <category android:name="android.intent.category.DEFAULT" />
283                <data android:mimeType="vnd.android.cursor.item/sim-contact" />
284            </intent-filter>
285        </activity>
286
287        <activity android:name="com.android.internal.telephony.uicc.InstallCarrierAppTrampolineActivity"
288                  android:theme="@android:style/Theme.Translucent.NoTitleBar"
289                  android:exported="false"/>
290
291        <activity android:name="GsmUmtsCallOptions"
292                android:label="@string/gsm_umts_options"
293                android:theme="@style/DialerSettingsLight">
294            <intent-filter>
295                <action android:name="android.intent.action.MAIN" />
296            </intent-filter>
297        </activity>
298
299        <activity android:name="CdmaCallOptions"
300                android:label="@string/cdma_options"
301                android:theme="@style/DialerSettingsLight">
302            <intent-filter>
303                <action android:name="android.intent.action.MAIN" />
304            </intent-filter>
305        </activity>
306
307        <activity android:name="GsmUmtsCallForwardOptions"
308                android:label="@string/labelCF"
309                android:configChanges="orientation|screenSize|keyboardHidden"
310                android:theme="@style/DialerSettingsLight">
311            <intent-filter>
312                <action android:name="android.intent.action.MAIN" />
313            </intent-filter>
314        </activity>
315
316        <activity android:name="GsmUmtsCallBarringOptions"
317                android:label="@string/labelCallBarring"
318                android:configChanges="orientation|screenSize|keyboardHidden"
319                android:theme="@style/DialerSettingsLight">
320            <intent-filter>
321                <action android:name="android.intent.action.MAIN" />
322            </intent-filter>
323        </activity>
324
325        <activity android:name="GsmUmtsAdditionalCallOptions"
326                android:label="@string/labelGSMMore"
327                android:configChanges="orientation|screenSize|keyboardHidden"
328                android:theme="@style/DialerSettingsLight">
329            <intent-filter>
330                <action android:name="android.intent.action.MAIN" />
331            </intent-filter>
332        </activity>
333
334        <!-- fdn setting -->
335        <activity android:name="com.android.phone.settings.fdn.FdnSetting"
336                android:label="@string/fdn"
337                android:theme="@style/DialerSettingsLight">
338            <intent-filter>
339                <action android:name="android.intent.action.MAIN" />
340            </intent-filter>
341        </activity>
342
343        <!-- SIM PIN setting -->
344        <activity android:name="EnableIccPinScreen"
345                android:label="@string/enable_pin"
346                android:theme="@style/DialerSettingsLight">
347            <intent-filter>
348                <action android:name="android.intent.action.MAIN" />
349                <category android:name="android.intent.category.DEVELOPMENT_PREFERENCE" />
350            </intent-filter>
351        </activity>
352
353        <activity android:name="ChangeIccPinScreen"
354                android:label="@string/change_pin"
355                android:theme="@style/DialerSettingsLight">
356            <intent-filter>
357                <action android:name="android.intent.action.MAIN" />
358                <category android:name="android.intent.category.DEVELOPMENT_PREFERENCE" />
359            </intent-filter>
360        </activity>
361
362        <activity android:name="com.android.phone.settings.fdn.GetPin2Screen"
363                android:label="@string/get_pin2"
364                android:theme="@style/DialerSettingsLight"
365                android:windowSoftInputMode="stateVisible">
366        </activity>
367
368        <activity android:name="com.android.phone.settings.fdn.EditFdnContactScreen"
369                android:theme="@style/DialerSettingsLight"
370                android:windowSoftInputMode="stateVisible">
371        </activity>
372
373        <activity android:name="com.android.phone.settings.fdn.DeleteFdnContactScreen"
374                android:theme="@style/DialerSettingsLight"
375                android:label="@string/delete_fdn_contact">
376        </activity>
377
378        <!-- "Call settings" UI, used only on voice-capable phone devices. -->
379        <activity android:name="CallFeaturesSetting"
380                android:label="@string/call_settings"
381                android:configChanges="orientation|screenSize|keyboardHidden"
382                android:theme="@style/DialerSettingsLight">
383            <intent-filter>
384                <action android:name="android.intent.action.VIEW" />
385                <action android:name="android.intent.action.MAIN" />
386                <action android:name="android.telecom.action.SHOW_CALL_SETTINGS" />
387                <category android:name="android.intent.category.DEFAULT" />
388            </intent-filter>
389        </activity>
390
391        <!-- Activation service that trigger OTASP sim provisioning -->
392        <service android:name=".otasp.OtaspActivationService" android:launchMode="singleInstance"
393            androidprv:systemUserOnly="true"
394            android:permission="android.permission.MODIFY_PHONE_STATE">
395            <intent-filter>
396                <action android:name="android.service.simActivation.SimActivationService" />
397            </intent-filter>
398        </service>
399
400        <receiver android:name=".otasp.OtaspSimStateReceiver" androidprv:systemUserOnly="true"
401                  android:exported ="false">
402            <intent-filter>
403                <action android:name="android.telephony.action.CARRIER_CONFIG_CHANGED" />
404            </intent-filter>
405        </receiver>
406
407        <!-- "Accessibility" settings UI. Referenced by Dialer application. -->
408        <activity android:name="com.android.phone.settings.AccessibilitySettingsActivity"
409                android:label="@string/accessibility_settings_activity_title"
410                android:theme="@style/DialerSettingsLight">
411            <intent-filter>
412                <action android:name="android.intent.action.MAIN" />
413                <action android:name="android.telecom.action.SHOW_CALL_ACCESSIBILITY_SETTINGS" />
414                <category android:name="android.intent.category.DEFAULT" />
415            </intent-filter>
416        </activity>
417
418        <!-- CDMA Emergency Callback Mode -->
419        <service android:name="EmergencyCallbackModeService">
420        </service>
421
422        <!-- service to dump telephony information -->
423        <service android:name="com.android.phone.TelephonyDebugService"
424                 android:permission="android.permission.DUMP">
425            <intent-filter>
426                <action android:name="com.android.phone.TelephonyDebugService" />
427            </intent-filter>
428        </service>
429
430        <!-- Handler for EuiccManager's public-facing intents. -->
431        <activity android:name=".euicc.EuiccUiDispatcherActivity"
432            android:theme="@android:style/Theme.NoDisplay"
433            android:permission="android.permission.MODIFY_PHONE_STATE">
434            <!-- Max out priority to ensure nobody else will handle these intents. -->
435            <intent-filter android:priority="1000">
436                <action android:name=
437                            "android.telephony.euicc.action.MANAGE_EMBEDDED_SUBSCRIPTIONS" />
438                <action android:name=
439                            "android.telephony.euicc.action.PROVISION_EMBEDDED_SUBSCRIPTION" />
440                <category android:name="android.intent.category.DEFAULT" />
441            </intent-filter>
442        </activity>
443
444        <!--
445            Handler for EuiccManager's resolution intents. These are locked down so that only
446            privileged processes can start them, which means we can trust the Intent used to start
447            it (which contains a description of the next step to perform after resolution).
448
449            If modified, also change EuiccController#RESOLUTION_ACTIVITY_PACKAGE_NAME and
450            EuiccController#RESOLUTION_ACTIVITY_CLASS_NAME
451        -->
452        <activity android:name=".euicc.EuiccResolutionUiDispatcherActivity"
453            android:permission="android.permission.CALL_PRIVILEGED">
454            <!-- Max out priority to ensure nobody else will handle these intents. -->
455            <intent-filter android:priority="1000">
456                <action android:name=
457                            "android.telephony.euicc.action.RESOLVE_ERROR" />
458                <category android:name="android.intent.category.DEFAULT" />
459            </intent-filter>
460        </activity>
461
462        <!--
463            Handler for EuiccManager's privileged action intents. These are locked down so that only
464            privileged processes can start them.
465        -->
466        <activity android:name=".euicc.EuiccPrivilegedActionUiDispatcherActivity"
467                  android:theme="@android:style/Theme.NoDisplay"
468                  android:permission="android.permission.CALL_PRIVILEGED">
469            <!-- Max out priority to ensure nobody else will handle these intents. -->
470            <intent-filter android:priority="1000">
471                <action android:name=
472                            "android.telephony.euicc.action.TOGGLE_SUBSCRIPTION_PRIVILEGED" />
473                <action android:name=
474                            "android.telephony.euicc.action.DELETE_SUBSCRIPTION_PRIVILEGED" />
475                <action android:name=
476                            "android.telephony.euicc.action.RENAME_SUBSCRIPTION_PRIVILEGED" />
477                <category android:name="android.intent.category.DEFAULT" />
478            </intent-filter>
479        </activity>
480
481        <!--
482            Handler for EuiccManager's public action intents. These are public and do not require
483            any special permissions to start, although the calling package name should be
484            whitelisted by the underlying eUICC service implementation (i.e. the LPA).
485        -->
486        <activity android:name=".euicc.EuiccPublicActionUiDispatcherActivity"
487            android:theme="@android:style/Theme.NoDisplay">
488            <!-- Max out priority to ensure nobody else will handle these intents. -->
489            <intent-filter android:priority="1000">
490                <action android:name=
491                    "android.telephony.euicc.action.START_EUICC_ACTIVATION" />
492                <category android:name="android.intent.category.DEFAULT" />
493            </intent-filter>
494        </activity>
495
496        <activity android:name="EmergencyCallbackModeExitDialog"
497            android:excludeFromRecents="true"
498            android:label="@string/ecm_exit_dialog"
499            android:launchMode="singleTop"
500            android:theme="@android:style/Theme.Translucent.NoTitleBar">
501            <intent-filter>
502                <action android:name="com.android.phone.action.ACTION_SHOW_ECM_EXIT_DIALOG" />
503                <action android:name="android.telephony.action.SHOW_NOTICE_ECM_BLOCK_OTHERS" />
504                <category android:name="android.intent.category.DEFAULT" />
505            </intent-filter>
506        </activity>
507
508        <!-- Start SIP -->
509        <service android:name="com.android.services.telephony.sip.SipConnectionService"
510                 android:label="@string/sip_connection_service_label"
511                 android:singleUser="true"
512                 android:permission="android.permission.BIND_TELECOM_CONNECTION_SERVICE" >
513            <intent-filter>
514                <action android:name="android.telecom.ConnectionService" />
515            </intent-filter>
516        </service>
517
518        <receiver android:name="com.android.services.telephony.sip.SipIncomingCallReceiver">
519            <intent-filter>
520                <action android:name="android.net.sip.action.SIP_INCOMING_CALL" />
521            </intent-filter>
522        </receiver>
523
524        <activity android:name="com.android.services.telephony.sip.SipPhoneAccountSettingsActivity"
525                android:theme="@android:style/Theme.NoDisplay"
526                android:excludeFromRecents="true">
527            <intent-filter>
528                <action android:name="android.telecom.action.CONFIGURE_PHONE_ACCOUNT" />
529                <category android:name="android.intent.category.DEFAULT" />
530            </intent-filter>
531        </activity>
532
533        <activity android:label="Sip Settings"
534                  android:name="com.android.services.telephony.sip.SipSettings"
535                  android:theme="@style/DialerSettingsLight"
536                  android:launchMode="singleTop"
537                  android:configChanges="orientation|screenSize|keyboardHidden"
538                  android:uiOptions="splitActionBarWhenNarrow"
539                  android:parentActivityName="com.android.phone.CallFeaturesSetting" >
540            <intent-filter>
541                <action android:name="android.intent.action.MAIN" />
542                <action android:name="android.net.sip.NOTIFY" />
543            </intent-filter>
544        </activity>
545        <activity android:name="com.android.services.telephony.sip.SipEditor"
546                android:theme="@style/DialerSettingsLight"
547                android:configChanges="orientation|screenSize|keyboardHidden"
548                android:uiOptions="splitActionBarWhenNarrow">
549        </activity>
550
551        <service android:name="com.android.services.telephony.sip.components.TelephonySipService">
552            <intent-filter>
553                <action android:name="android.net.sip.action.START_SIP" />
554            </intent-filter>
555        </service>
556
557        <!-- End SIP -->
558
559        <activity android:name="MMIDialogActivity"
560                android:configChanges="orientation|screenSize|keyboardHidden"
561                android:excludeFromRecents="true"
562                android:launchMode="singleInstance"
563                android:theme="@style/Empty">
564        </activity>
565
566        <activity android:name="com.android.phone.settings.PhoneAccountSettingsActivity"
567            android:label="@string/phone_accounts"
568            android:theme="@style/DialerSettingsLight">
569            <intent-filter>
570                <action android:name="android.telecom.action.CHANGE_PHONE_ACCOUNTS" />
571                <category android:name="android.intent.category.DEFAULT" />
572            </intent-filter>
573        </activity>
574
575        <activity android:name="com.android.phone.settings.VoicemailSettingsActivity"
576            android:label="@string/voicemail"
577            android:configChanges="orientation|screenSize|keyboardHidden|screenLayout"
578            android:screenOrientation="portrait"
579            android:theme="@style/DialerSettingsLight">
580            <intent-filter >
581                <!-- DO NOT RENAME. There are existing apps which use this string. -->
582                <action android:name="com.android.phone.CallFeaturesSetting.ADD_VOICEMAIL" />
583                <category android:name="android.intent.category.DEFAULT" />
584            </intent-filter>
585            <intent-filter>
586                <action android:name="android.telephony.action.CONFIGURE_VOICEMAIL" />
587                <category android:name="android.intent.category.DEFAULT" />
588            </intent-filter>
589        </activity>
590
591        <!-- Telecom integration -->
592        <service
593                android:singleUser="true"
594                android:name="com.android.services.telephony.TelephonyConnectionService"
595                android:label="@string/pstn_connection_service_label"
596                android:permission="android.permission.BIND_TELECOM_CONNECTION_SERVICE" >
597            <intent-filter>
598                <action android:name="android.telecom.ConnectionService" />
599            </intent-filter>
600        </service>
601
602        <receiver
603          android:name="com.android.phone.vvm.VvmSmsReceiver"
604            android:exported="false"
605            androidprv:systemUserOnly="true">
606            <intent-filter>
607                <action android:name="com.android.internal.provider.action.VOICEMAIL_SMS_RECEIVED"/>
608            </intent-filter>
609        </receiver>
610
611        <receiver
612            android:name="com.android.phone.vvm.VvmSimStateTracker"
613            android:exported="false"
614            androidprv:systemUserOnly="true">
615            <intent-filter>
616                <action android:name="android.intent.action.BOOT_COMPLETED"/>
617                <action android:name="android.telephony.action.CARRIER_CONFIG_CHANGED"/>
618                <action android:name="android.intent.action.SIM_STATE_CHANGED"/>
619            </intent-filter>
620        </receiver>
621
622        <receiver
623            android:name="com.android.internal.telephony.uicc.ShowInstallAppNotificationReceiver"
624            android:exported="false"/>
625
626        <activity
627            android:name="com.android.phone.settings.PickSmsSubscriptionActivity"
628            android:exported="false"
629            android:excludeFromRecents="true"
630            android:launchMode="singleTop"
631            android:configChanges="orientation|screenSize|keyboardHidden"
632            android:theme="@style/Theme.Transparent"/>
633
634        <service
635            android:name="com.android.phone.vvm.RemoteVvmTaskManager"
636            android:exported="false"/>
637        <service android:name="com.android.internal.telephony.CellularNetworkService"
638            android:permission="android.permission.BIND_TELEPHONY_NETWORK_SERVICE" >
639            <intent-filter>
640                <action android:name="android.telephony.NetworkService" />
641            </intent-filter>
642        </service>
643        <service android:name="com.android.internal.telephony.dataconnection.CellularDataService"
644            android:permission="android.permission.BIND_TELEPHONY_DATA_SERVICE" >
645            <intent-filter>
646                <action android:name="android.telephony.data.DataService" />
647            </intent-filter>
648        </service>
649
650        <activity
651            android:name=".settings.RadioInfo"
652            android:label="@string/phone_info_label"
653            android:theme="@style/Theme.AppCompat.DayNight">
654            <intent-filter>
655                <action android:name="android.intent.action.MAIN" />
656                <category android:name="android.intent.category.DEVELOPMENT_PREFERENCE" />
657            </intent-filter>
658        </activity>
659
660        <activity android:name=".settings.BandMode"
661                  android:label="@string/band_mode_title"
662                  android:theme="@style/Theme.AppCompat.DayNight">
663            <intent-filter>
664                <action android:name="android.intent.action.MAIN" />
665                <category android:name="android.intent.category.DEFAULT" />
666                <category android:name="android.intent.category.VOICE_LAUNCH" />
667            </intent-filter>
668        </activity>
669
670        <provider
671            android:name="ServiceStateProvider"
672            android:authorities="service-state"
673            android:exported="true"
674            android:multiprocess="false"
675            android:singleUser="true"
676            android:writePermission="android.permission.MODIFY_PHONE_STATE"/>
677    </application>
678</manifest>
679