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="28"/> 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 <intent-filter> 83 <action android:name="android.intent.action.NEW_VOICEMAIL"/> 84 <data 85 android:host="com.android.voicemail" 86 android:mimeType="vnd.android.cursor.item/voicemail" 87 android:scheme="content" 88 /> 89 <data 90 android:host="com.android.voicemail" 91 android:mimeType="vnd.android.cursor.dir/voicemails" 92 android:scheme="content" 93 /> 94 </intent-filter> 95 <intent-filter android:priority="100"> 96 <action android:name="android.intent.action.BOOT_COMPLETED"/> 97 </intent-filter> 98 </receiver> 99 100 <activity 101 android:name="com.android.dialer.app.calllog.CallLogNotificationsActivity" 102 android:theme="@style/Theme.AppCompat.Translucent"> 103 </activity> 104 105 <service 106 android:directBootAware="true" 107 android:exported="false" 108 android:name="com.android.dialer.app.calllog.CallLogNotificationsService" 109 /> 110 111 <service 112 android:name="com.android.dialer.app.calllog.VoicemailNotificationJobService" 113 android:permission="android.permission.BIND_JOB_SERVICE" 114 /> 115 116 <receiver 117 android:directBootAware="true" 118 android:name="com.android.dialer.app.calllog.MissedCallNotificationReceiver"> 119 <intent-filter> 120 <action android:name="android.telecom.action.SHOW_MISSED_CALLS_NOTIFICATION"/> 121 </intent-filter> 122 </receiver> 123 <!-- Handles voicemail notifications from telephony. Requires O --> 124 <receiver android:name=".voicemail.LegacyVoicemailNotificationReceiver" 125 android:directBootAware="true"> 126 <intent-filter> 127 <action android:name="android.telephony.action.SHOW_VOICEMAIL_NOTIFICATION"/> 128 </intent-filter> 129 <intent-filter> 130 <action android:name="com.android.voicemail.VoicemailClient.ACTION_SHOW_LEGACY_VOICEMAIL" /> 131 </intent-filter> 132 </receiver> 133 134 <receiver 135 android:exported="false" 136 android:name="com.android.dialer.commandline.CommandLineReceiver"> 137 </receiver> 138 139 <provider 140 android:authorities="com.android.dialer.files" 141 android:exported="false" 142 android:grantUriPermissions="true" 143 android:name="android.support.v4.content.FileProvider"> 144 <meta-data 145 android:name="android.support.FILE_PROVIDER_PATHS" 146 android:resource="@xml/file_paths"/> 147 </provider> 148 <meta-data android:name="supports_per_number_preferred_account" android:value="true" /> 149 </application> 150</manifest> 151