1<?xml version="1.0" encoding="utf-8"?>
2<manifest xmlns:android="http://schemas.android.com/apk/res/android"
3          package="com.android.car.frameworkpackagestubs"
4          android:versionCode="1"
5          android:versionName="1.0.1">
6
7    <uses-sdk android:minSdkVersion="28"/>
8
9    <application android:label="@string/app_name"
10                 android:theme="@android:style/Theme.Translucent.NoTitleBar.Fullscreen">
11
12        <!-- Dialer stubs -->
13        <activity android:name=".Stubs$DialerStub"
14                  android:label="@string/stub_name"
15                  android:excludeFromRecents="true">
16            <intent-filter android:priority="-1">
17                <action android:name="android.intent.action.DIAL" />
18                <category android:name="android.intent.category.DEFAULT" />
19                <data android:scheme="voicemail"/>
20            </intent-filter>
21        </activity>
22
23        <!-- Music / media stubs. -->
24        <activity android:name=".Stubs$MediaStub"
25                  android:label="@string/stub_name"
26                  android:excludeFromRecents="true">
27            <intent-filter android:priority="-1">
28                <action android:name="android.intent.action.VIEW" />
29                <category android:name="android.intent.category.DEFAULT" />
30                <data android:scheme="file"/>
31                <data android:mimeType="audio/*"/>
32                <data android:mimeType="application/ogg"/>
33                <data android:mimeType="application/x-ogg"/>
34            </intent-filter>
35            <intent-filter android:priority="-1">
36                <action android:name="android.intent.action.VIEW" />
37                <category android:name="android.intent.category.DEFAULT" />
38                <category android:name="android.intent.category.BROWSABLE" />
39                <data android:scheme="http"/>
40                <data android:mimeType="audio/*"/>
41                <data android:mimeType="application/ogg"/>
42                <data android:mimeType="application/x-ogg"/>
43            </intent-filter>
44            <intent-filter android:priority="-1">
45                <action android:name="android.intent.action.VIEW" />
46                <category android:name="android.intent.category.DEFAULT" />
47                <category android:name="android.intent.category.BROWSABLE" />
48                <data android:scheme="content"/>
49                <data android:mimeType="audio/*"/>
50                <data android:mimeType="application/ogg"/>
51                <data android:mimeType="application/x-ogg"/>
52            </intent-filter>
53            <intent-filter android:priority="-1">
54                <action android:name="android.intent.action.PICK" />
55                <category android:name="android.intent.category.DEFAULT" />
56                <data android:mimeType="vnd.android.cursor.dir/audio"/>
57            </intent-filter>
58            <intent-filter android:priority="-1">
59                <action android:name="android.intent.action.VIEW" />
60                <category android:name="android.intent.category.DEFAULT" />
61                <category android:name="android.intent.category.BROWSABLE" />
62                <data android:scheme="content" />
63                <data android:scheme="file" />
64                <data android:mimeType="video/*" />
65                <data android:mimeType="image/*" />
66            </intent-filter>
67        </activity>
68
69        <!-- Settings package stubs -->
70        <activity android:name=".Stubs$SettingsStub"
71                  android:label="@string/stub_name"
72                  android:excludeFromRecents="true">
73            <intent-filter android:priority="-1">
74                <action android:name="android.app.action.ADD_DEVICE_ADMIN" />
75                <category android:name="android.intent.category.DEFAULT" />
76            </intent-filter>
77            <intent-filter android:priority="-1">
78                <action android:name="android.settings.ACCESSIBILITY_SETTINGS" />
79                <category android:name="android.intent.category.DEFAULT" />
80            </intent-filter>
81            <intent-filter android:priority="-1">
82                <action android:name="android.settings.LOCATION_SCANNING_SETTINGS" />
83                <category android:name="android.intent.category.DEFAULT"/>
84            </intent-filter>
85            <intent-filter android:priority="-1">
86                <action android:name="android.settings.MANAGE_UNKNOWN_APP_SOURCES" />
87                <category android:name="android.intent.category.DEFAULT" />
88            </intent-filter>
89            <intent-filter android:priority="-1">
90                <action android:name="android.settings.PROCESS_WIFI_EASY_CONNECT_URI" />
91                <category android:name="android.intent.category.DEFAULT" />
92                <data android:scheme="DPP"/>
93            </intent-filter>
94            <intent-filter android:priority="-1">
95                <action android:name="android.settings.USER_DICTIONARY_SETTINGS" />
96                <category android:name="android.intent.category.DEFAULT" />
97            </intent-filter>
98        </activity>
99
100        <!-- CDD Core Application Intents Stubs -->
101        <!-- Desk Clock -->
102        <activity android:name=".Stubs$DeskClockStub"
103                  android:label="@string/stub_name"
104                  android:excludeFromRecents="true">
105            <intent-filter android:priority="-1">
106                <action android:name="android.intent.action.SET_ALARM" />
107                <category android:name="android.intent.category.DEFAULT" />
108            </intent-filter>
109            <intent-filter android:priority="-1">
110                <action android:name="android.intent.action.SET_TIMER" />
111                <category android:name="android.intent.category.DEFAULT" />
112            </intent-filter>
113            <intent-filter android:priority="-1">
114                <action android:name="android.intent.action.SHOW_ALARMS" />
115                <category android:name="android.intent.category.DEFAULT" />
116            </intent-filter>
117            <intent-filter android:priority="-1">
118                <action android:name="android.intent.action.DISMISS_ALARM" />
119                <category android:name="android.intent.category.DEFAULT" />
120            </intent-filter>
121            <intent-filter android:priority="-1">
122                <action android:name="android.intent.action.SHOW_TIMERS" />
123                <category android:name="android.intent.category.DEFAULT" />
124            </intent-filter>
125            <intent-filter android:priority="-1">
126                <action android:name="android.intent.action.SNOOZE_ALARM" />
127                <category android:name="android.intent.category.DEFAULT" />
128            </intent-filter>
129        </activity>
130
131        <!-- Calendar -->
132        <activity android:name=".Stubs$CalendarStub"
133                  android:label="@string/stub_name"
134                  android:excludeFromRecents="true">
135            <intent-filter android:priority="-1">
136                <action android:name="android.intent.action.EDIT" />
137                <category android:name="android.intent.category.DEFAULT" />
138                <data android:mimeType="vnd.android.cursor.item/event" />
139            </intent-filter>
140        </activity>
141
142        <!-- Browser -->
143        <activity android:name=".Stubs$BrowserStub"
144                  android:label="@string/stub_name"
145                  android:excludeFromRecents="true">
146            <intent-filter android:priority="-1">
147                <action android:name="android.intent.action.WEB_SEARCH" />
148                <category android:name="android.intent.category.DEFAULT" />
149            </intent-filter>
150        </activity>
151
152        <!-- Ignore Background Data Restriction Setting -->
153        <activity android:name=".Stubs$IgnoreBackgroundDataRestrictionsSettingsStub"
154                  android:label="@string/stub_name"
155                  android:excludeFromRecents="true">
156            <intent-filter android:priority="-1">
157                <action android:name="android.settings.IGNORE_BACKGROUND_DATA_RESTRICTIONS_SETTINGS" />
158                <category android:name="android.intent.category.DEFAULT" />
159                <data android:scheme="package" />
160            </intent-filter>
161        </activity>
162
163        <!-- Ignore Battery Optimization Setting -->
164        <activity android:name=".Stubs$IgnoreBatteryOptimizationSettingsStub"
165                  android:label="@string/stub_name"
166                  android:excludeFromRecents="true">
167            <intent-filter android:priority="-1">
168                <action android:name="android.settings.IGNORE_BATTERY_OPTIMIZATION_SETTINGS" />
169                <category android:name="android.intent.category.DEFAULT" />
170            </intent-filter>
171        </activity>
172
173        <!-- Request Ignore Battery Optimization Setting -->
174        <activity android:name=".Stubs$RequestIgnoreBatteryOptimizationsStub"
175                  android:label="@string/stub_name"
176                  android:excludeFromRecents="true">
177            <intent-filter android:priority="-1">
178                <action android:name="android.settings.REQUEST_IGNORE_BATTERY_OPTIMIZATIONS" />
179                <category android:name="android.intent.category.DEFAULT" />
180                <data android:scheme="package" />
181            </intent-filter>
182        </activity>
183
184        <!-- WebView Setting -->
185        <activity android:name=".Stubs$WebViewSettingsStub"
186                  android:label="@string/stub_name"
187                  android:excludeFromRecents="true">
188            <intent-filter android:priority="-1">
189                <action android:name="android.settings.WEBVIEW_SETTINGS" />
190                <category android:name="android.intent.category.DEFAULT" />
191            </intent-filter>
192        </activity>
193    </application>
194</manifest>
195