• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
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<!-- This manifest file contains activites that are subclasses by
17     Google Dialer. TODO: Need to stop subclassing activities and move this
18     back into the main manifest file. -->
19<manifest xmlns:android="http://schemas.android.com/apk/res/android"
20  package="com.android.dialer.app">
21
22  <application android:theme="@style/Theme.AppCompat">
23
24    <activity
25      android:exported="false"
26      android:label="@string/dialer_settings_label"
27      android:name="com.android.dialer.app.settings.DialerSettingsActivity"
28      android:parentActivityName="com.android.dialer.app.DialtactsActivity"
29      android:theme="@style/SettingsStyle">
30    </activity>
31
32    <!-- The entrance point for Phone UI.
33         stateAlwaysHidden is set to suppress keyboard show up on
34         dialpad screen. -->
35    <activity
36      android:clearTaskOnLaunch="true"
37      android:directBootAware="true"
38      android:label="@string/launcherActivityLabel"
39      android:launchMode="singleTask"
40      android:name="com.android.dialer.app.DialtactsActivity"
41      android:resizeableActivity="true"
42      android:theme="@style/DialtactsActivityTheme"
43      android:windowSoftInputMode="stateAlwaysHidden|adjustNothing">
44      <!-- LINT.IfChange -->
45      <intent-filter>
46        <action android:name="android.intent.action.DIAL"/>
47
48        <category android:name="android.intent.category.DEFAULT"/>
49        <category android:name="android.intent.category.BROWSABLE"/>
50
51        <data android:mimeType="vnd.android.cursor.item/phone"/>
52        <data android:mimeType="vnd.android.cursor.item/person"/>
53      </intent-filter>
54      <intent-filter>
55        <action android:name="android.intent.action.DIAL"/>
56
57        <category android:name="android.intent.category.DEFAULT"/>
58        <category android:name="android.intent.category.BROWSABLE"/>
59
60        <data android:scheme="voicemail"/>
61      </intent-filter>
62      <intent-filter>
63        <action android:name="android.intent.action.DIAL"/>
64        <category android:name="android.intent.category.DEFAULT"/>
65      </intent-filter>
66      <intent-filter>
67        <action android:name="android.intent.action.MAIN"/>
68
69        <category android:name="android.intent.category.DEFAULT"/>
70        <category android:name="android.intent.category.LAUNCHER"/>
71        <category android:name="android.intent.category.BROWSABLE"/>
72      </intent-filter>
73      <intent-filter>
74        <action android:name="android.intent.action.VIEW"/>
75        <action android:name="android.intent.action.DIAL"/>
76
77        <category android:name="android.intent.category.DEFAULT"/>
78        <category android:name="android.intent.category.BROWSABLE"/>
79
80        <data android:scheme="tel"/>
81      </intent-filter>
82      <intent-filter>
83        <action android:name="android.intent.action.VIEW"/>
84
85        <category android:name="android.intent.category.DEFAULT"/>
86        <category android:name="android.intent.category.BROWSABLE"/>
87
88        <data android:mimeType="vnd.android.cursor.dir/calls"/>
89      </intent-filter>
90      <intent-filter>
91        <action android:name="android.intent.action.CALL_BUTTON"/>
92
93        <category android:name="android.intent.category.DEFAULT"/>
94        <category android:name="android.intent.category.BROWSABLE"/>
95      </intent-filter>
96      <!-- This was never intended to be public, but is here for backward
97           compatibility.  Use Intent.ACTION_DIAL instead. -->
98      <intent-filter>
99        <action android:name="com.android.phone.action.TOUCH_DIALER"/>
100
101        <category android:name="android.intent.category.DEFAULT"/>
102        <category android:name="android.intent.category.TAB"/>
103      </intent-filter>
104      <intent-filter android:label="@string/callHistoryIconLabel">
105        <action android:name="com.android.phone.action.RECENT_CALLS"/>
106
107        <category android:name="android.intent.category.DEFAULT"/>
108        <category android:name="android.intent.category.TAB"/>
109      </intent-filter>
110      <!-- LINT.ThenChange(//depot/google3/third_party/java_src/android_app/dialer/java/com/android/dialer/dialtacts/impl/AndroidManifest.xml) -->
111
112      <meta-data
113        android:name="com.android.keyguard.layout"
114        android:resource="@layout/keyguard_preview"/>
115    </activity>
116
117    <activity-alias
118        android:exported="true"
119        android:name="com.android.dialer.DialtactsActivity"
120        android:targetActivity="com.android.dialer.app.DialtactsActivity"/>
121
122  </application>
123
124</manifest>
125