1<!-- Copyright (C) 2016 The Android Open Source Project 2 3 Licensed under the Apache License, Version 2.0 (the "License"); 4 you may not use this file except in compliance with the License. 5 You may obtain a copy of the License at 6 7 http://www.apache.org/licenses/LICENSE-2.0 8 9 Unless required by applicable law or agreed to in writing, software 10 distributed under the License is distributed on an "AS IS" BASIS, 11 WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 12 See the License for the specific language governing permissions and 13 limitations under the License. 14--> 15 16<manifest xmlns:android="http://schemas.android.com/apk/res/android" 17 package="com.android.dialer.app"> 18 19 <uses-permission android:name="android.permission.CALL_PHONE"/> 20 <uses-permission android:name="android.permission.READ_CONTACTS"/> 21 <uses-permission android:name="android.permission.WRITE_CONTACTS"/> 22 <uses-permission android:name="android.permission.READ_CALL_LOG"/> 23 <uses-permission android:name="android.permission.WRITE_CALL_LOG"/> 24 <uses-permission android:name="android.permission.READ_PROFILE"/> 25 <uses-permission android:name="android.permission.MANAGE_ACCOUNTS"/> 26 <uses-permission android:name="android.permission.GET_ACCOUNTS"/> 27 <uses-permission android:name="android.permission.GET_ACCOUNTS_PRIVILEGED"/> 28 <uses-permission android:name="android.permission.ACCESS_FINE_LOCATION"/> 29 <uses-permission android:name="android.permission.ACCESS_COARSE_LOCATION"/> 30 <uses-permission android:name="android.permission.INTERNET"/> 31 <uses-permission android:name="android.permission.PROCESS_OUTGOING_CALLS"/> 32 <uses-permission android:name="android.permission.NFC"/> 33 <uses-permission android:name="android.permission.READ_PHONE_STATE"/> 34 <uses-permission android:name="android.permission.MODIFY_AUDIO_SETTINGS"/> 35 <uses-permission android:name="android.permission.MODIFY_PHONE_STATE"/> 36 <uses-permission android:name="android.permission.WAKE_LOCK"/> 37 <uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE"/> 38 <uses-permission android:name="android.permission.WRITE_SETTINGS"/> 39 <uses-permission android:name="android.permission.USE_CREDENTIALS"/> 40 <uses-permission android:name="android.permission.VIBRATE"/> 41 <uses-permission android:name="android.permission.READ_SYNC_SETTINGS"/> 42 <uses-permission android:name="android.permission.SYSTEM_ALERT_WINDOW"/> 43 <uses-permission android:name="com.android.voicemail.permission.ADD_VOICEMAIL"/> 44 <uses-permission android:name="com.android.voicemail.permission.WRITE_VOICEMAIL"/> 45 <uses-permission android:name="com.android.voicemail.permission.READ_VOICEMAIL"/> 46 <uses-permission android:name="android.permission.ALLOW_ANY_CODEC_FOR_PLAYBACK"/> 47 <uses-permission android:name="com.android.launcher.permission.INSTALL_SHORTCUT"/> 48 <uses-permission android:name="android.permission.RECEIVE_BOOT_COMPLETED"/> 49 <uses-permission android:name="android.permission.BROADCAST_STICKY"/> 50 <uses-permission android:name="android.permission.ACCESS_WIFI_STATE"/> 51 52 <!-- This tells the activity manager to not delay any of our activity 53 start requests, even if they happen immediately after the user 54 presses home. --> 55 <uses-permission android:name="android.permission.STOP_APP_SWITCHES"/> 56 57 <uses-sdk 58 android:minSdkVersion="24" 59 android:targetSdkVersion="30"/> 60 61 <application> 62 63 <activity 64 android:exported="false" 65 android:label="@string/manage_blocked_numbers_label" 66 android:name="com.android.dialer.app.filterednumber.BlockedNumbersSettingsActivity" 67 android:parentActivityName="com.android.dialer.app.settings.DialerSettingsActivity" 68 android:theme="@style/ManageBlockedNumbersStyle"> 69 <intent-filter> 70 <action android:name="com.android.dialer.action.BLOCKED_NUMBERS_SETTINGS"/> 71 <category android:name="android.intent.category.DEFAULT"/> 72 </intent-filter> 73 </activity> 74 75 <activity 76 android:label="@string/call_log_activity_title" 77 android:name="com.android.dialer.app.calllog.CallLogActivity" 78 android:theme="@style/DialtactsTheme"> 79 </activity> 80 81 <receiver android:name="com.android.dialer.app.calllog.CallLogReceiver" 82 android:exported="true"> 83 <intent-filter> 84 <action android:name="android.intent.action.NEW_VOICEMAIL"/> 85 <data 86 android:host="com.android.voicemail" 87 android:mimeType="vnd.android.cursor.item/voicemail" 88 android:scheme="content" 89 /> 90 <data 91 android:host="com.android.voicemail" 92 android:mimeType="vnd.android.cursor.dir/voicemails" 93 android:scheme="content" 94 /> 95 </intent-filter> 96 <intent-filter android:priority="100"> 97 <action android:name="android.intent.action.BOOT_COMPLETED"/> 98 </intent-filter> 99 </receiver> 100 101 <activity 102 android:name="com.android.dialer.app.calllog.CallLogNotificationsActivity" 103 android:theme="@style/Theme.AppCompat.Translucent"> 104 </activity> 105 106 <service 107 android:directBootAware="true" 108 android:exported="false" 109 android:name="com.android.dialer.app.calllog.CallLogNotificationsService" 110 /> 111 112 <service 113 android:name="com.android.dialer.app.calllog.VoicemailNotificationJobService" 114 android:permission="android.permission.BIND_JOB_SERVICE" 115 /> 116 117 <receiver 118 android:directBootAware="true" 119 android:exported="true" 120 android:name="com.android.dialer.app.calllog.MissedCallNotificationReceiver"> 121 <intent-filter> 122 <action android:name="android.telecom.action.SHOW_MISSED_CALLS_NOTIFICATION"/> 123 </intent-filter> 124 </receiver> 125 <!-- Handles voicemail notifications from telephony. Requires O --> 126 <receiver android:name=".voicemail.LegacyVoicemailNotificationReceiver" 127 android:exported="true" 128 android:directBootAware="true"> 129 <intent-filter> 130 <action android:name="android.telephony.action.SHOW_VOICEMAIL_NOTIFICATION"/> 131 </intent-filter> 132 <intent-filter> 133 <action android:name="com.android.voicemail.VoicemailClient.ACTION_SHOW_LEGACY_VOICEMAIL" /> 134 </intent-filter> 135 </receiver> 136 137 <receiver 138 android:exported="false" 139 android:name="com.android.dialer.commandline.CommandLineReceiver"> 140 </receiver> 141 142 <provider 143 android:authorities="com.android.dialer.files" 144 android:exported="false" 145 android:grantUriPermissions="true" 146 android:name="android.support.v4.content.FileProvider"> 147 <meta-data 148 android:name="android.support.FILE_PROVIDER_PATHS" 149 android:resource="@xml/file_paths"/> 150 </provider> 151 <meta-data android:name="supports_per_number_preferred_account" android:value="true" /> 152 </application> 153</manifest> 154