• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
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    <activity
23      android:clearTaskOnLaunch="true"
24      android:directBootAware="true"
25      android:enabled="false"
26      android:exported="true"
27      android:icon="@drawable/nui_launcher_icon"
28      android:label="@string/main_activity_label"
29      android:launchMode="singleTask"
30      android:name="com.android.dialer.main.impl.MainActivity"
31      android:resizeableActivity="true"
32      android:theme="@style/NuiActivityTheme"
33      android:windowSoftInputMode="stateAlwaysHidden|adjustNothing">
34
35
36      <intent-filter>
37        <action android:name="android.intent.action.DIAL"/>
38
39        <category android:name="android.intent.category.DEFAULT"/>
40        <category android:name="android.intent.category.BROWSABLE"/>
41
42        <data android:mimeType="vnd.android.cursor.item/phone"/>
43        <data android:mimeType="vnd.android.cursor.item/person"/>
44      </intent-filter>
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:scheme="voicemail"/>
52      </intent-filter>
53      <intent-filter>
54        <action android:name="android.intent.action.DIAL"/>
55        <category android:name="android.intent.category.DEFAULT"/>
56      </intent-filter>
57      <intent-filter>
58        <action android:name="android.intent.action.MAIN"/>
59
60        <category android:name="android.intent.category.DEFAULT"/>
61        <category android:name="android.intent.category.LAUNCHER"/>
62        <category android:name="android.intent.category.BROWSABLE"/>
63      </intent-filter>
64      <intent-filter>
65        <action android:name="android.intent.action.VIEW"/>
66        <action android:name="android.intent.action.DIAL"/>
67
68        <category android:name="android.intent.category.DEFAULT"/>
69        <category android:name="android.intent.category.BROWSABLE"/>
70
71        <data android:scheme="tel"/>
72      </intent-filter>
73      <intent-filter>
74        <action android:name="android.intent.action.VIEW"/>
75
76        <category android:name="android.intent.category.DEFAULT"/>
77        <category android:name="android.intent.category.BROWSABLE"/>
78
79        <data android:mimeType="vnd.android.cursor.dir/calls"/>
80      </intent-filter>
81      <intent-filter>
82        <action android:name="android.intent.action.CALL_BUTTON"/>
83
84        <category android:name="android.intent.category.DEFAULT"/>
85        <category android:name="android.intent.category.BROWSABLE"/>
86      </intent-filter>
87      <!-- This was never intended to be public, but is here for backward
88           compatibility.  Use Intent.ACTION_DIAL instead. -->
89      <intent-filter>
90        <action android:name="com.android.phone.action.TOUCH_DIALER"/>
91
92        <category android:name="android.intent.category.DEFAULT"/>
93        <category android:name="android.intent.category.TAB"/>
94      </intent-filter>
95      <intent-filter android:label="@string/main_call_history_tab_description">
96        <action android:name="com.android.phone.action.RECENT_CALLS"/>
97
98        <category android:name="android.intent.category.DEFAULT"/>
99        <category android:name="android.intent.category.TAB"/>
100      </intent-filter>
101
102
103      <meta-data
104        android:name="com.android.keyguard.layout"
105        android:resource="@layout/keyguard_preview"/>
106    </activity>
107
108  </application>
109
110</manifest>
111