• 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      <intent-filter>
31        <action android:name="android.intent.action.VIEW" />
32        <category android:name="android.intent.category.DEFAULT"/>
33        <data android:scheme="header"/>
34      </intent-filter>
35    </activity>
36
37    <!-- The entrance point for Phone UI.
38         stateAlwaysHidden is set to suppress keyboard show up on
39         dialpad screen. -->
40    <activity
41      android:clearTaskOnLaunch="true"
42      android:directBootAware="true"
43      android:label="@string/launcherActivityLabel"
44      android:launchMode="singleTask"
45      android:name="com.android.dialer.app.DialtactsActivity"
46      android:resizeableActivity="true"
47      android:theme="@style/DialtactsActivityTheme"
48      android:windowSoftInputMode="stateAlwaysHidden|adjustNothing">
49
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:mimeType="vnd.android.cursor.item/phone"/>
57        <data android:mimeType="vnd.android.cursor.item/person"/>
58      </intent-filter>
59      <intent-filter>
60        <action android:name="android.intent.action.DIAL"/>
61
62        <category android:name="android.intent.category.DEFAULT"/>
63        <category android:name="android.intent.category.BROWSABLE"/>
64
65        <data android:scheme="voicemail"/>
66      </intent-filter>
67      <intent-filter>
68        <action android:name="android.intent.action.DIAL"/>
69        <category android:name="android.intent.category.DEFAULT"/>
70      </intent-filter>
71      <intent-filter>
72        <action android:name="android.intent.action.MAIN"/>
73
74        <category android:name="android.intent.category.DEFAULT"/>
75        <category android:name="android.intent.category.LAUNCHER"/>
76        <category android:name="android.intent.category.BROWSABLE"/>
77      </intent-filter>
78      <intent-filter>
79        <action android:name="android.intent.action.VIEW"/>
80        <action android:name="android.intent.action.DIAL"/>
81
82        <category android:name="android.intent.category.DEFAULT"/>
83        <category android:name="android.intent.category.BROWSABLE"/>
84
85        <data android:scheme="tel"/>
86      </intent-filter>
87      <intent-filter>
88        <action android:name="android.intent.action.VIEW"/>
89
90        <category android:name="android.intent.category.DEFAULT"/>
91        <category android:name="android.intent.category.BROWSABLE"/>
92
93        <data android:mimeType="vnd.android.cursor.dir/calls"/>
94      </intent-filter>
95      <intent-filter>
96        <action android:name="android.intent.action.CALL_BUTTON"/>
97
98        <category android:name="android.intent.category.DEFAULT"/>
99        <category android:name="android.intent.category.BROWSABLE"/>
100      </intent-filter>
101      <!-- This was never intended to be public, but is here for backward
102           compatibility.  Use Intent.ACTION_DIAL instead. -->
103      <intent-filter>
104        <action android:name="com.android.phone.action.TOUCH_DIALER"/>
105
106        <category android:name="android.intent.category.DEFAULT"/>
107        <category android:name="android.intent.category.TAB"/>
108      </intent-filter>
109      <intent-filter android:label="@string/callHistoryIconLabel">
110        <action android:name="com.android.phone.action.RECENT_CALLS"/>
111
112        <category android:name="android.intent.category.DEFAULT"/>
113        <category android:name="android.intent.category.TAB"/>
114      </intent-filter>
115
116
117      <meta-data
118        android:name="com.android.keyguard.layout"
119        android:resource="@layout/keyguard_preview"/>
120    </activity>
121
122    <activity-alias
123        android:exported="true"
124        android:name="com.android.dialer.DialtactsActivity"
125        android:targetActivity="com.android.dialer.app.DialtactsActivity"/>
126
127  </application>
128
129</manifest>
130