blob: c645f15d9cb05ed7583ff4efc6765e40e8fa0a6b [file] [log] [blame]
<!-- Copyright (C) 2016 The Android Open Source Project
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
-->
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="com.android.dialer.app">
<uses-permission android:name="android.permission.CALL_PHONE"/>
<uses-permission android:name="android.permission.READ_CONTACTS"/>
<uses-permission android:name="android.permission.WRITE_CONTACTS"/>
<uses-permission android:name="android.permission.READ_CALL_LOG"/>
<uses-permission android:name="android.permission.WRITE_CALL_LOG"/>
<uses-permission android:name="android.permission.READ_PROFILE"/>
<uses-permission android:name="android.permission.MANAGE_ACCOUNTS"/>
<uses-permission android:name="android.permission.GET_ACCOUNTS"/>
<uses-permission android:name="android.permission.GET_ACCOUNTS_PRIVILEGED"/>
<uses-permission android:name="android.permission.ACCESS_FINE_LOCATION"/>
<uses-permission android:name="android.permission.ACCESS_COARSE_LOCATION"/>
<uses-permission android:name="android.permission.INTERNET"/>
<uses-permission android:name="android.permission.PROCESS_OUTGOING_CALLS"/>
<uses-permission android:name="android.permission.NFC"/>
<uses-permission android:name="android.permission.READ_PHONE_STATE"/>
<uses-permission android:name="android.permission.MODIFY_AUDIO_SETTINGS"/>
<uses-permission android:name="android.permission.MODIFY_PHONE_STATE"/>
<uses-permission android:name="android.permission.WAKE_LOCK"/>
<uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE"/>
<uses-permission android:name="android.permission.WRITE_SETTINGS"/>
<uses-permission android:name="android.permission.USE_CREDENTIALS"/>
<uses-permission android:name="android.permission.VIBRATE"/>
<uses-permission android:name="android.permission.READ_SYNC_SETTINGS"/>
<uses-permission android:name="android.permission.SYSTEM_ALERT_WINDOW"/>
<uses-permission android:name="com.android.voicemail.permission.ADD_VOICEMAIL"/>
<uses-permission android:name="com.android.voicemail.permission.WRITE_VOICEMAIL"/>
<uses-permission android:name="com.android.voicemail.permission.READ_VOICEMAIL"/>
<uses-permission android:name="android.permission.ALLOW_ANY_CODEC_FOR_PLAYBACK"/>
<uses-permission android:name="com.android.launcher.permission.INSTALL_SHORTCUT"/>
<uses-permission android:name="android.permission.RECEIVE_BOOT_COMPLETED"/>
<uses-permission android:name="android.permission.BROADCAST_STICKY"/>
<uses-permission android:name="android.permission.ACCESS_WIFI_STATE"/>
<!-- This tells the activity manager to not delay any of our activity
start requests, even if they happen immediately after the user
presses home. -->
<uses-permission android:name="android.permission.STOP_APP_SWITCHES"/>
<uses-sdk
android:minSdkVersion="24"
android:targetSdkVersion="30"/>
<application>
<activity
android:label="@string/call_log_activity_title"
android:name="com.android.dialer.app.calllog.CallLogActivity"
android:theme="@style/DialtactsTheme">
</activity>
<activity android:name="com.android.dialer.app.AccountSelectionActivity"
android:theme="@style/TransparentTheme"
android:exported="false" />
<activity
android:name="com.android.dialer.app.settings.DialerSettingsActivity"
android:exported="false"
android:label="@string/dialer_settings_label"
android:parentActivityName="com.android.dialer.main.impl.MainActivity"
android:theme="@style/SettingsStyle">
<intent-filter>
<action android:name="android.intent.action.VIEW"/>
<category android:name="android.intent.category.DEFAULT"/>
<data android:scheme="header"/>
</intent-filter>
</activity>
<receiver android:name="com.android.dialer.app.calllog.CallLogReceiver"
android:exported="true">
<intent-filter>
<action android:name="android.intent.action.NEW_VOICEMAIL"/>
<data
android:host="com.android.voicemail"
android:mimeType="vnd.android.cursor.item/voicemail"
android:scheme="content"
/>
<data
android:host="com.android.voicemail"
android:mimeType="vnd.android.cursor.dir/voicemails"
android:scheme="content"
/>
</intent-filter>
<intent-filter android:priority="100">
<action android:name="android.intent.action.BOOT_COMPLETED"/>
</intent-filter>
</receiver>
<activity
android:name="com.android.dialer.app.calllog.CallLogNotificationsActivity"
android:theme="@style/Theme.AppCompat.Translucent">
</activity>
<service
android:directBootAware="true"
android:exported="false"
android:name="com.android.dialer.app.calllog.CallLogNotificationsService"
/>
<service
android:name="com.android.dialer.app.calllog.VoicemailNotificationJobService"
android:permission="android.permission.BIND_JOB_SERVICE"
/>
<receiver
android:directBootAware="true"
android:exported="true"
android:name="com.android.dialer.app.calllog.MissedCallNotificationReceiver">
<intent-filter>
<action android:name="android.telecom.action.SHOW_MISSED_CALLS_NOTIFICATION"/>
</intent-filter>
</receiver>
<!-- Handles voicemail notifications from telephony. Requires O -->
<receiver android:name=".voicemail.LegacyVoicemailNotificationReceiver"
android:exported="true"
android:directBootAware="true">
<intent-filter>
<action android:name="android.telephony.action.SHOW_VOICEMAIL_NOTIFICATION"/>
</intent-filter>
<intent-filter>
<action android:name="com.android.voicemail.VoicemailClient.ACTION_SHOW_LEGACY_VOICEMAIL" />
</intent-filter>
</receiver>
<provider
android:authorities="com.android.dialer.files"
android:exported="false"
android:grantUriPermissions="true"
android:name="androidx.core.content.FileProvider">
<meta-data
android:name="android.support.FILE_PROVIDER_PATHS"
android:resource="@xml/file_paths"/>
</provider>
<provider xmlns:tools="http://schemas.android.com/tools"
android:name="androidx.startup.InitializationProvider"
android:authorities="${applicationId}.androidx-startup"
android:exported="false"
tools:replace="android:authorities"/>
<meta-data android:name="supports_per_number_preferred_account" android:value="true" />
</application>
</manifest>