1<?xml version="1.0" encoding="utf-8"?> 2<!-- 3 ~ Copyright (C) 2017 The Android Open Source Project 4 ~ 5 ~ Licensed under the Apache License, Version 2.0 (the "License"); 6 ~ you may not use this file except in compliance with the License. 7 ~ You may obtain a copy of the License at 8 ~ 9 ~ http://www.apache.org/licenses/LICENSE-2.0 10 ~ 11 ~ Unless required by applicable law or agreed to in writing, software 12 ~ distributed under the License is distributed on an "AS IS" BASIS, 13 ~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 14 ~ See the License for the specific language governing permissions and 15 ~ limitations under the License 16 --> 17<manifest xmlns:android="http://schemas.android.com/apk/res/android" 18 package="com.android.dialer.main.impl"> 19 20 <application> 21 22 <!-- TODO(a bug): remove activity themes and only have application wide themes --> 23 <!-- The entrance point for Phone UI. 24 stateAlwaysHidden is set to suppress keyboard show up on dialpad screen. --> 25 <activity 26 android:name="com.android.dialer.main.impl.MainActivity" 27 android:clearTaskOnLaunch="true" 28 android:directBootAware="true" 29 android:exported="true" 30 android:label="@string/main_activity_label" 31 android:launchMode="singleTask" 32 android:resizeableActivity="true" 33 android:theme="@style/MainActivityTheme" 34 android:windowSoftInputMode="stateAlwaysHidden|adjustNothing"> 35 36 <intent-filter> 37 <action android:name="com.android.dialer.main.impl.MAIN"/> 38 <category android:name="android.intent.category.DEFAULT"/> 39 </intent-filter> 40 41 <intent-filter> 42 <action android:name="android.intent.action.DIAL"/> 43 44 <category android:name="android.intent.category.DEFAULT"/> 45 <category android:name="android.intent.category.BROWSABLE"/> 46 47 <data android:mimeType="vnd.android.cursor.item/phone"/> 48 <data android:mimeType="vnd.android.cursor.item/person"/> 49 </intent-filter> 50 <intent-filter> 51 <action android:name="android.intent.action.DIAL"/> 52 53 <category android:name="android.intent.category.DEFAULT"/> 54 <category android:name="android.intent.category.BROWSABLE"/> 55 56 <data android:scheme="voicemail"/> 57 </intent-filter> 58 <intent-filter> 59 <action android:name="android.intent.action.DIAL"/> 60 <category android:name="android.intent.category.DEFAULT"/> 61 </intent-filter> 62 <intent-filter> 63 <action android:name="android.intent.action.MAIN"/> 64 65 <category android:name="android.intent.category.DEFAULT"/> 66 <category android:name="android.intent.category.LAUNCHER"/> 67 <category android:name="android.intent.category.BROWSABLE"/> 68 </intent-filter> 69 <intent-filter> 70 <action android:name="android.intent.action.VIEW"/> 71 <action android:name="android.intent.action.DIAL"/> 72 73 <category android:name="android.intent.category.DEFAULT"/> 74 <category android:name="android.intent.category.BROWSABLE"/> 75 76 <data android:scheme="tel"/> 77 </intent-filter> 78 <intent-filter> 79 <action android:name="android.intent.action.VIEW"/> 80 81 <category android:name="android.intent.category.DEFAULT"/> 82 <category android:name="android.intent.category.BROWSABLE"/> 83 84 <data android:mimeType="vnd.android.cursor.dir/calls"/> 85 </intent-filter> 86 <intent-filter> 87 <action android:name="android.intent.action.CALL_BUTTON"/> 88 89 <category android:name="android.intent.category.DEFAULT"/> 90 <category android:name="android.intent.category.BROWSABLE"/> 91 </intent-filter> 92 93 <!-- This was never intended to be public, but is here for backward 94 compatibility. Use Intent.ACTION_DIAL instead. --> 95 <intent-filter> 96 <action android:name="com.android.phone.action.TOUCH_DIALER"/> 97 98 <category android:name="android.intent.category.DEFAULT"/> 99 <category android:name="android.intent.category.TAB"/> 100 </intent-filter> 101 <intent-filter> 102 <action android:name="com.android.phone.action.RECENT_CALLS"/> 103 104 <category android:name="android.intent.category.DEFAULT"/> 105 <category android:name="android.intent.category.TAB"/> 106 </intent-filter> 107 108 <meta-data 109 android:name="com.android.keyguard.layout" 110 android:resource="@layout/keyguard_preview"/> 111 112 </activity> 113 114 <!-- This is the historical name of the "main" activity and is kept as an alias for backwards 115 compatibility in case older apps refer to the activity in this way. --> 116 117 <!-- {@deprecated Use .MainActivity instead.} --> 118 <activity-alias 119 android:name="com.android.dialer.app.DialtactsActivity" 120 android:exported="true" 121 android:targetActivity=".MainActivity"/> 122 123 </application> 124</manifest> 125