• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1<?xml version="1.0" encoding="utf-8"?>
2
3<manifest xmlns:android="http://schemas.android.com/apk/res/android"
4     package="com.android.car.frameworkpackagestubs"
5     android:versionCode="1"
6     android:versionName="1.0.1">
7
8    <uses-sdk android:minSdkVersion="28"/>
9
10    <application android:label="@string/app_name"
11         android:theme="@android:style/Theme.Translucent.NoTitleBar.Fullscreen">
12
13        <!-- Dialer stubs -->
14        <activity android:name=".Stubs$DialerStub"
15             android:label="@string/stub_name"
16             android:excludeFromRecents="true"
17             android:exported="true">
18            <intent-filter android:priority="-1">
19                <action android:name="android.intent.action.DIAL"/>
20                <category android:name="android.intent.category.DEFAULT"/>
21                <data android:scheme="voicemail"/>
22            </intent-filter>
23        </activity>
24
25        <!-- Music / media stubs. -->
26        <activity android:name=".Stubs$MediaStub"
27             android:label="@string/stub_name"
28             android:excludeFromRecents="true"
29             android:exported="true">
30            <intent-filter android:priority="-1">
31                <action android:name="android.intent.action.VIEW"/>
32                <category android:name="android.intent.category.DEFAULT"/>
33                <data android:scheme="file"/>
34                <data android:mimeType="audio/*"/>
35                <data android:mimeType="application/ogg"/>
36                <data android:mimeType="application/x-ogg"/>
37            </intent-filter>
38            <intent-filter android:priority="-1">
39                <action android:name="android.intent.action.VIEW"/>
40                <category android:name="android.intent.category.DEFAULT"/>
41                <category android:name="android.intent.category.BROWSABLE"/>
42                <data android:scheme="http"/>
43                <data android:mimeType="audio/*"/>
44                <data android:mimeType="application/ogg"/>
45                <data android:mimeType="application/x-ogg"/>
46            </intent-filter>
47            <intent-filter android:priority="-1">
48                <action android:name="android.intent.action.VIEW"/>
49                <category android:name="android.intent.category.DEFAULT"/>
50                <category android:name="android.intent.category.BROWSABLE"/>
51                <data android:scheme="content"/>
52                <data android:mimeType="audio/*"/>
53                <data android:mimeType="application/ogg"/>
54                <data android:mimeType="application/x-ogg"/>
55            </intent-filter>
56            <intent-filter android:priority="-1">
57                <action android:name="android.intent.action.PICK"/>
58                <category android:name="android.intent.category.DEFAULT"/>
59                <data android:mimeType="vnd.android.cursor.dir/audio"/>
60            </intent-filter>
61            <intent-filter android:priority="-1">
62                <action android:name="android.intent.action.VIEW"/>
63                <category android:name="android.intent.category.DEFAULT"/>
64                <category android:name="android.intent.category.BROWSABLE"/>
65                <data android:scheme=""/>
66                <data android:scheme="http"/>
67                <data android:scheme="https"/>
68                <data android:scheme="content"/>
69                <data android:scheme="file"/>
70                <data android:mimeType="video/*"/>
71                <data android:mimeType="image/*"/>
72            </intent-filter>
73            <intent-filter android:priority="-1">
74                <action android:name="android.intent.action.PICK"/>
75                <action android:name="android.intent.action.VIEW"/>
76                <category android:name="android.intent.category.DEFAULT"/>
77                <data android:mimeType="vnd.android.cursor.dir/image"/>
78            </intent-filter>
79            <intent-filter android:priority="-1">
80                <action android:name="android.intent.action.PICK"/>
81                <action android:name="android.intent.action.VIEW"/>
82                <category android:name="android.intent.category.DEFAULT"/>
83                <data android:mimeType="vnd.android.cursor.dir/video"/>
84            </intent-filter>
85        </activity>
86
87        <!-- Settings package stubs -->
88        <activity android:name=".Stubs$SettingsStub"
89             android:label="@string/stub_name"
90             android:excludeFromRecents="true"
91             android:exported="true">
92            <intent-filter android:priority="-1">
93                <action android:name="android.settings.ACCESSIBILITY_SETTINGS"/>
94                <category android:name="android.intent.category.DEFAULT"/>
95            </intent-filter>
96            <intent-filter android:priority="-1">
97                <action android:name="android.settings.LOCATION_SCANNING_SETTINGS"/>
98                <category android:name="android.intent.category.DEFAULT"/>
99            </intent-filter>
100            <intent-filter android:priority="-1">
101                <action android:name="android.settings.MANAGE_UNKNOWN_APP_SOURCES"/>
102                <category android:name="android.intent.category.DEFAULT"/>
103            </intent-filter>
104            <intent-filter android:priority="-1">
105                <action android:name="android.settings.PROCESS_WIFI_EASY_CONNECT_URI"/>
106                <category android:name="android.intent.category.DEFAULT"/>
107                <data android:scheme="DPP"/>
108            </intent-filter>
109            <intent-filter android:priority="-1">
110                <action android:name="android.settings.USER_DICTIONARY_SETTINGS"/>
111                <category android:name="android.intent.category.DEFAULT"/>
112            </intent-filter>
113        </activity>
114
115        <!-- CDD Core Application Intents Stubs -->
116        <!-- Desk Clock -->
117        <activity android:name=".Stubs$DeskClockStub"
118             android:label="@string/stub_name"
119             android:excludeFromRecents="true"
120             android:exported="true">
121            <intent-filter android:priority="-1">
122                <action android:name="android.intent.action.SET_ALARM"/>
123                <category android:name="android.intent.category.DEFAULT"/>
124            </intent-filter>
125            <intent-filter android:priority="-1">
126                <action android:name="android.intent.action.SET_TIMER"/>
127                <category android:name="android.intent.category.DEFAULT"/>
128            </intent-filter>
129            <intent-filter android:priority="-1">
130                <action android:name="android.intent.action.SHOW_ALARMS"/>
131                <category android:name="android.intent.category.DEFAULT"/>
132            </intent-filter>
133            <intent-filter android:priority="-1">
134                <action android:name="android.intent.action.DISMISS_ALARM"/>
135                <category android:name="android.intent.category.DEFAULT"/>
136            </intent-filter>
137            <intent-filter android:priority="-1">
138                <action android:name="android.intent.action.SHOW_TIMERS"/>
139                <category android:name="android.intent.category.DEFAULT"/>
140            </intent-filter>
141            <intent-filter android:priority="-1">
142                <action android:name="android.intent.action.SNOOZE_ALARM"/>
143                <category android:name="android.intent.category.DEFAULT"/>
144            </intent-filter>
145        </activity>
146
147        <!-- Calendar -->
148        <activity android:name=".Stubs$CalendarStub"
149             android:label="@string/stub_name"
150             android:excludeFromRecents="true"
151             android:exported="true">
152            <intent-filter android:priority="-1">
153                <action android:name="android.intent.action.EDIT"/>
154                <category android:name="android.intent.category.DEFAULT"/>
155                <data android:mimeType="vnd.android.cursor.item/event"/>
156            </intent-filter>
157        </activity>
158
159        <!-- Browser -->
160        <activity android:name=".Stubs$BrowserStub"
161             android:label="@string/stub_name"
162             android:excludeFromRecents="true"
163             android:exported="true">
164            <intent-filter android:priority="-1">
165                <action android:name="android.intent.action.WEB_SEARCH"/>
166                <category android:name="android.intent.category.DEFAULT"/>
167            </intent-filter>
168        </activity>
169
170        <!-- Ignore Background Data Restriction Setting -->
171        <activity android:name=".Stubs$IgnoreBackgroundDataRestrictionsSettingsStub"
172             android:label="@string/stub_name"
173             android:excludeFromRecents="true"
174             android:exported="true">
175            <intent-filter android:priority="-1">
176                <action android:name="android.settings.IGNORE_BACKGROUND_DATA_RESTRICTIONS_SETTINGS"/>
177                <category android:name="android.intent.category.DEFAULT"/>
178                <data android:scheme="package"/>
179            </intent-filter>
180        </activity>
181
182        <!-- Ignore Battery Optimization Setting -->
183        <activity android:name=".Stubs$IgnoreBatteryOptimizationSettingsStub"
184             android:label="@string/stub_name"
185             android:excludeFromRecents="true"
186             android:exported="true">
187            <intent-filter android:priority="-1">
188                <action android:name="android.settings.IGNORE_BATTERY_OPTIMIZATION_SETTINGS"/>
189                <category android:name="android.intent.category.DEFAULT"/>
190            </intent-filter>
191        </activity>
192
193        <!-- Request Ignore Battery Optimization Setting -->
194        <activity android:name=".Stubs$RequestIgnoreBatteryOptimizationsStub"
195             android:label="@string/stub_name"
196             android:excludeFromRecents="true"
197             android:exported="true">
198            <intent-filter android:priority="-1">
199                <action android:name="android.settings.REQUEST_IGNORE_BATTERY_OPTIMIZATIONS"/>
200                <category android:name="android.intent.category.DEFAULT"/>
201                <data android:scheme="package"/>
202            </intent-filter>
203        </activity>
204
205        <!-- WebView Setting -->
206        <activity android:name=".Stubs$WebViewSettingsStub"
207             android:label="@string/stub_name"
208             android:excludeFromRecents="true"
209             android:exported="true">
210            <intent-filter android:priority="-1">
211                <action android:name="android.settings.WEBVIEW_SETTINGS"/>
212                <category android:name="android.intent.category.DEFAULT"/>
213            </intent-filter>
214        </activity>
215
216        <!-- Picture in picture settings stub -->
217        <activity android:name=".Stubs$PictureInPictureSettingsStub"
218                  android:label="@string/stub_name"
219                  android:excludeFromRecents="true"
220                  android:exported="true">
221            <intent-filter android:priority="-1">
222                <action android:name="android.settings.PICTURE_IN_PICTURE_SETTINGS" />
223                <category android:name="android.intent.category.DEFAULT" />
224            </intent-filter>
225        </activity>
226
227        <!-- Contacts package stubs -->
228        <activity
229            android:name=".Stubs$ContactsStub"
230            android:label="@string/stub_name"
231            android:excludeFromRecents="true"
232            android:exported="true">
233            <intent-filter android:priority="-1">
234                <action android:name="android.intent.action.VIEW" />
235                <category android:name="android.intent.category.DEFAULT" />
236                <data android:mimeType="vnd.android.cursor.dir/contact"/>
237            </intent-filter>
238
239            <intent-filter android:priority="-1">
240                <action android:name="android.intent.action.GET_CONTENT" />
241                <category android:name="android.intent.category.DEFAULT" />
242                <data android:mimeType="vnd.android.cursor.dir/contact"/>
243            </intent-filter>
244
245            <intent-filter android:priority="-1">
246                <action android:name="android.intent.action.PICK" />
247                <category android:name="android.intent.category.DEFAULT" />
248                <data android:mimeType="vnd.android.cursor.dir/contact"/>
249            </intent-filter>
250        </activity>
251
252    </application>
253</manifest>
254