• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1<?xml version="1.0" encoding="utf-8"?>
2<manifest xmlns:android="http://schemas.android.com/apk/res/android"
3    package="com.android.tv.frameworkpackagestubs"
4    android:versionCode="1"
5    android:versionName="1.0.1"
6    >
7
8    <uses-sdk
9        android:minSdkVersion="26"
10    />
11
12    <uses-permission android:name="android.permission.QUERY_ALL_PACKAGES" />
13    <uses-permission android:name="android.permission.SET_DEFAULT_ACCOUNT_FOR_CONTACTS"/>
14
15    <application android:label="@string/app_name"
16        android:theme="@android:style/Theme.Translucent.NoTitleBar.Fullscreen"
17        >
18
19        <!-- Browser stubs -->
20        <activity android:name=".Stubs$BrowserStub"
21            android:exported="true"
22            android:label="@string/stub_name"
23            android:excludeFromRecents="true"
24            >
25
26            <intent-filter android:priority="-1">
27                <action android:name="android.intent.action.VIEW" />
28                <category android:name="android.intent.category.BROWSABLE" />
29                <category android:name="android.intent.category.DEFAULT" />
30                <data android:scheme="http" />
31                <data android:scheme="https" />
32                <data android:scheme="file" />
33            </intent-filter>
34
35            <intent-filter android:priority="-1">
36                <action android:name="android.speech.action.VOICE_SEARCH_RESULTS" />
37                <category android:name="android.intent.category.DEFAULT" />
38            </intent-filter>
39
40            <!-- For viewing saved web archives. -->
41            <intent-filter android:priority="-1">
42                <action android:name="android.intent.action.VIEW" />
43                <category android:name="android.intent.category.BROWSABLE" />
44                <category android:name="android.intent.category.DEFAULT" />
45                <data android:scheme="http" />
46                <data android:scheme="https" />
47                <data android:scheme="file" />
48                <data android:mimeType="application/x-webarchive-xml"/>
49            </intent-filter>
50
51            <!-- For viewing PDF files, which we do not support in this release. -->
52            <intent-filter android:priority="-1">
53                <action android:name="android.intent.action.VIEW" />
54                <category android:name="android.intent.category.BROWSABLE" />
55                <category android:name="android.intent.category.DEFAULT" />
56                <data android:scheme="http" />
57                <data android:scheme="https" />
58                <data android:scheme="file" />
59                <data android:mimeType="application/pdf"/>
60            </intent-filter>
61
62            <intent-filter android:priority="-1">
63                <action android:name="android.intent.action.WEB_SEARCH" />
64                <category android:name="android.intent.category.DEFAULT" />
65            </intent-filter>
66        </activity>
67
68        <provider android:name="com.android.browser.provider.BrowserProvider2"
69                  android:exported="true"
70                  android:authorities="com.android.browser;browser"
71                  android:readPermission="com.android.browser.permission.READ_HISTORY_BOOKMARKS"
72                  android:writePermission="com.android.browser.permission.WRITE_HISTORY_BOOKMARKS">
73                  <!--
74            <path-permission android:path="/bookmarks/search_suggest_query"
75                    android:readPermission="android.permission.GLOBAL_SEARCH" />
76                    -->
77        </provider>
78
79        <!-- Calendar package stubs -->
80        <activity android:name=".Stubs$CalendarStub"
81            android:exported="true"
82            android:label="@string/stub_name"
83            android:excludeFromRecents="true"
84            >
85            <meta-data android:name="com.android.tv.stub" android:value="true" />
86            <intent-filter android:priority="-1">
87                <action android:name="android.intent.action.VIEW" />
88                <category android:name="android.intent.category.DEFAULT" />
89                <data android:mimeType="time/epoch" />
90                <data android:host="com.android.calendar" />
91                <data android:scheme="content"/>
92            </intent-filter>
93            <intent-filter android:priority="-1">
94                <action android:name="android.intent.action.VIEW" />
95                <category android:name="android.intent.category.DEFAULT" />
96                <data android:mimeType="vnd.android.cursor.item/event" />
97            </intent-filter>
98            <intent-filter android:priority="-1">
99                <action android:name="android.intent.action.EDIT" />
100                <category android:name="android.intent.category.DEFAULT" />
101                <data android:mimeType="vnd.android.cursor.item/event" />
102            </intent-filter>
103                <intent-filter android:priority="-1">
104                <action android:name="android.intent.action.EDIT" />
105                <category android:name="android.intent.category.DEFAULT" />
106                <data android:mimeType="vnd.android.cursor.dir/event" />
107            </intent-filter>
108        </activity>
109
110        <!-- Contacts package stubs.
111
112             Copied all intent filters from all activities
113             (except when action was MAIN) in
114             ../packages/apps/Contacts/AndroidManifest.xml
115
116             -->
117        <activity android:name=".Stubs$ContactsStub"
118            android:exported="true"
119            android:label="@string/stub_name"
120            android:excludeFromRecents="true"
121            android:visibleToInstantApps="true"
122            >
123
124            <meta-data android:name="com.android.tv.stub" android:value="true" />
125
126            <intent-filter android:priority="-1">
127                <action android:name="com.android.phone.action.TOUCH_DIALER" />
128                <category android:name="android.intent.category.DEFAULT" />
129                <category android:name="android.intent.category.TAB" />
130            </intent-filter>
131
132            <intent-filter android:priority="-1">
133                <action android:name="com.android.phone.action.RECENT_CALLS" />
134                <category android:name="android.intent.category.DEFAULT" />
135                <category android:name="android.intent.category.TAB" />
136            </intent-filter>
137
138            <intent-filter android:priority="-1">
139                <action android:name="android.intent.action.DIAL" />
140                <category android:name="android.intent.category.DEFAULT" />
141                <category android:name="android.intent.category.BROWSABLE" />
142                <data android:mimeType="vnd.android.cursor.item/phone" />
143                <data android:mimeType="vnd.android.cursor.item/person" />
144            </intent-filter>
145
146            <intent-filter android:priority="-1">
147                <action android:name="android.intent.action.DIAL" />
148                <category android:name="android.intent.category.DEFAULT" />
149                <category android:name="android.intent.category.BROWSABLE" />
150                <data android:scheme="voicemail" />
151            </intent-filter>
152
153            <intent-filter android:priority="-1">
154                <action android:name="android.intent.action.DIAL" />
155                <category android:name="android.intent.category.DEFAULT" />
156            </intent-filter>
157
158            <intent-filter android:priority="-1">
159                <action android:name="android.intent.action.VIEW" />
160                <action android:name="android.intent.action.DIAL" />
161                <category android:name="android.intent.category.DEFAULT" />
162                <category android:name="android.intent.category.BROWSABLE" />
163                <data android:scheme="tel" />
164            </intent-filter>
165
166            <intent-filter android:priority="-1">
167                <action android:name="android.intent.action.VIEW" />
168                <category android:name="android.intent.category.DEFAULT" />
169                <category android:name="android.intent.category.BROWSABLE" />
170                <data android:mimeType="vnd.android.cursor.dir/calls" />
171            </intent-filter>
172
173            <intent-filter android:priority="-1">
174                <action android:name="android.intent.action.CALL_BUTTON" />
175                <category android:name="android.intent.category.DEFAULT" />
176                <category android:name="android.intent.category.BROWSABLE" />
177            </intent-filter>
178
179            <intent-filter android:priority="-1">
180                <action android:name="android.intent.action.DIAL" />
181                <category android:name="android.intent.category.DEFAULT" />
182                <category android:name="android.intent.category.BROWSABLE" />
183                <data android:mimeType="vnd.android.cursor.item/phone" />
184                <data android:mimeType="vnd.android.cursor.item/person" />
185            </intent-filter>
186
187            <intent-filter android:priority="-1">
188                <action android:name="android.intent.action.DIAL" />
189                <category android:name="android.intent.category.DEFAULT" />
190                <category android:name="android.intent.category.BROWSABLE" />
191                <data android:scheme="voicemail" />
192            </intent-filter>
193
194            <intent-filter android:priority="-1">
195                <action android:name="android.intent.action.DIAL" />
196                <category android:name="android.intent.category.DEFAULT" />
197            </intent-filter>
198
199            <intent-filter android:priority="-1">
200                <action android:name="android.intent.action.VIEW" />
201                <action android:name="android.intent.action.DIAL" />
202                <category android:name="android.intent.category.DEFAULT" />
203                <category android:name="android.intent.category.BROWSABLE" />
204                <data android:scheme="tel" />
205            </intent-filter>
206
207            <intent-filter android:priority="-1">
208                <action android:name="android.intent.action.VIEW" />
209                <category android:name="android.intent.category.DEFAULT" />
210                <category android:name="android.intent.category.BROWSABLE" />
211                <data android:mimeType="vnd.android.cursor.dir/calls" />
212            </intent-filter>
213
214            <intent-filter android:priority="-1">
215                <action android:name="android.intent.action.CALL_BUTTON" />
216                <category android:name="android.intent.category.DEFAULT" />
217                <category android:name="android.intent.category.BROWSABLE" />
218            </intent-filter>
219
220            <intent-filter android:priority="-1">
221                <action android:name="android.intent.action.VIEW" />
222                <category android:name="android.intent.category.DEFAULT" />
223                <data android:mimeType="vnd.android.cursor.dir/person" />
224                <data android:mimeType="vnd.android.cursor.dir/contact" />
225                <data android:mimeType="vnd.android.cursor.item/person" />
226                <data android:mimeType="vnd.android.cursor.item/contact" />
227                <data android:mimeType="vnd.android.cursor.item/raw_contact" />
228            </intent-filter>
229
230            <intent-filter android:priority="-1">
231                <action android:name="com.android.contacts.action.LIST_DEFAULT" />
232                <category android:name="android.intent.category.DEFAULT" />
233                <category android:name="android.intent.category.TAB" />
234            </intent-filter>
235
236            <intent-filter android:priority="-1">
237                <action android:name="com.android.contacts.action.LIST_CONTACTS" />
238                <category android:name="android.intent.category.DEFAULT" />
239                <category android:name="android.intent.category.TAB" />
240            </intent-filter>
241
242            <intent-filter android:priority="-1">
243                <action android:name="com.android.contacts.action.LIST_ALL_CONTACTS" />
244                <category android:name="android.intent.category.DEFAULT" />
245                <category android:name="android.intent.category.TAB" />
246            </intent-filter>
247
248            <intent-filter android:priority="-1">
249                <action android:name="com.android.contacts.action.LIST_CONTACTS_WITH_PHONES" />
250                <category android:name="android.intent.category.DEFAULT" />
251                <category android:name="android.intent.category.TAB" />
252            </intent-filter>
253
254            <intent-filter android:priority="-1">
255                <action android:name="com.android.contacts.action.LIST_STARRED" />
256                <category android:name="android.intent.category.DEFAULT" />
257                <category android:name="android.intent.category.TAB" />
258            </intent-filter>
259
260            <intent-filter android:priority="-1">
261                <action android:name="com.android.contacts.action.LIST_FREQUENT" />
262                <category android:name="android.intent.category.DEFAULT" />
263                <category android:name="android.intent.category.TAB" />
264            </intent-filter>
265
266            <intent-filter android:priority="-1">
267                <action android:name="com.android.contacts.action.LIST_STREQUENT" />
268                <category android:name="android.intent.category.DEFAULT" />
269                <category android:name="android.intent.category.TAB" />
270            </intent-filter>
271
272            <intent-filter android:priority="-1">
273                <action android:name="android.intent.action.SEARCH" />
274                <category android:name="android.intent.category.DEFAULT" />
275                <data android:mimeType="vnd.android.cursor.dir/contact" />
276            </intent-filter>
277
278            <intent-filter android:priority="-1">
279                <action android:name="android.intent.action.SEARCH" />
280                <category android:name="android.intent.category.DEFAULT" />
281            </intent-filter>
282
283            <intent-filter android:priority="-1">
284                <action android:name="com.android.contacts.action.FILTER_CONTACTS" />
285                <category android:name="android.intent.category.DEFAULT" />
286                <data android:mimeType="vnd.android.cursor.dir/contact" />
287            </intent-filter>
288
289            <intent-filter android:priority="-1">
290                <action android:name="android.intent.action.INSERT_OR_EDIT" />
291                <category android:name="android.intent.category.DEFAULT" />
292                <data android:mimeType="vnd.android.cursor.item/person" />
293                <data android:mimeType="vnd.android.cursor.item/contact" />
294                <data android:mimeType="vnd.android.cursor.item/raw_contact" />
295            </intent-filter>
296
297            <intent-filter android:priority="-1">
298                <action android:name="android.intent.action.PICK" />
299                <category android:name="android.intent.category.DEFAULT" />
300                <data android:mimeType="vnd.android.cursor.dir/contact" />
301                <data android:mimeType="vnd.android.cursor.dir/person" />
302                <data android:mimeType="vnd.android.cursor.dir/phone_v2" />
303                <data android:mimeType="vnd.android.cursor.dir/phone" />
304                <data android:mimeType="vnd.android.cursor.dir/postal-address_v2" />
305                <data android:mimeType="vnd.android.cursor.dir/postal-address" />
306            </intent-filter>
307
308            <intent-filter android:priority="-1">
309                <action android:name="android.intent.action.GET_CONTENT" />
310                <category android:name="android.intent.category.DEFAULT" />
311                <data android:mimeType="vnd.android.cursor.item/contact" />
312                <data android:mimeType="vnd.android.cursor.item/person" />
313                <data android:mimeType="vnd.android.cursor.item/phone_v2" />
314                <data android:mimeType="vnd.android.cursor.item/phone" />
315                <data android:mimeType="vnd.android.cursor.item/postal-address_v2" />
316                <data android:mimeType="vnd.android.cursor.item/postal-address" />
317            </intent-filter>
318
319            <intent-filter android:priority="-1">
320                <action android:name="com.android.contacts.action.JOIN_CONTACT" />
321                <category android:name="android.intent.category.DEFAULT" />
322            </intent-filter>
323
324            <intent-filter android:priority="-1">
325                <action android:name="com.android.contacts.action.SHOW_OR_CREATE_CONTACT" />
326                <category android:name="android.intent.category.DEFAULT" />
327                <data android:scheme="mailto" />
328                <data android:scheme="tel" />
329            </intent-filter>
330
331            <intent-filter android:priority="-1">
332                <action android:name="com.android.contacts.action.QUICK_CONTACT" />
333                <category android:name="android.intent.category.DEFAULT" />
334                <data android:mimeType="vnd.android.cursor.item/contact" />
335                <data android:mimeType="vnd.android.cursor.item/person" />
336            </intent-filter>
337
338            <intent-filter android:priority="-1">
339                <action android:name="android.intent.action.VIEW" />
340                <category android:name="android.intent.category.DEFAULT" />
341                <data android:mimeType="vnd.android.cursor.item/calls" />
342            </intent-filter>
343
344            <intent-filter android:priority="-1">
345                <action android:name="android.intent.action.EDIT" />
346                <category android:name="android.intent.category.DEFAULT" />
347                <data android:mimeType="vnd.android.cursor.item/person" />
348                <data android:mimeType="vnd.android.cursor.item/contact" />
349                <data android:mimeType="vnd.android.cursor.item/raw_contact" />
350            </intent-filter>
351
352            <intent-filter android:priority="-1">
353                <action android:name="android.intent.action.INSERT" />
354                <category android:name="android.intent.category.DEFAULT" />
355                <data android:mimeType="vnd.android.cursor.dir/person" />
356                <data android:mimeType="vnd.android.cursor.dir/contact" />
357                <data android:mimeType="vnd.android.cursor.dir/raw_contact" />
358            </intent-filter>
359
360            <intent-filter android:priority="-1">
361                <action android:name="android.intent.action.VIEW" />
362                <data android:mimeType="text/directory" />
363                <data android:mimeType="text/vcard" />
364                <data android:mimeType="text/x-vcard" />
365                <category android:name="android.intent.category.DEFAULT" />
366            </intent-filter>
367
368            <intent-filter android:priority="-1">
369                <action android:name="android.provider.action.SET_DEFAULT_ACCOUNT"/>
370                <category android:name="android.intent.category.DEFAULT"/>
371            </intent-filter>
372
373        </activity>
374
375        <!-- Email package stubs.
376
377             Copied all intent filters from all activities
378             (except when action was MAIN) in
379             ../packages/apps/Email/AndroidManifest.xml
380
381             -->
382        <activity android:name=".Stubs$EmailStub"
383            android:exported="true"
384            android:label="@string/stub_name"
385            android:excludeFromRecents="true"
386            >
387
388            <meta-data android:name="com.android.tv.stub" android:value="true" />
389
390            <intent-filter android:priority="-1">
391                <action
392                    android:name="com.android.email.CREATE_ACCOUNT" />
393                <category
394                    android:name="android.intent.category.DEFAULT" />
395            </intent-filter>
396
397            <intent-filter android:priority="-1">
398                <action
399                    android:name="com.android.email.activity.setup.ACCOUNT_MANAGER_ENTRY" />
400                <category
401                    android:name="android.intent.category.DEFAULT" />
402            </intent-filter>
403
404            <intent-filter android:priority="-1">
405                <action
406                    android:name="android.intent.action.VIEW" />
407                <data
408                    android:mimeType="application/eml" />
409                <data
410                    android:mimeType="message/rfc822" />
411                <category
412                    android:name="android.intent.category.DEFAULT" />
413            </intent-filter>
414
415            <intent-filter android:priority="-1">
416                <action
417                    android:name="android.intent.action.VIEW" />
418                <action
419                    android:name="android.intent.action.SENDTO" />
420                <data
421                    android:scheme="mailto" />
422                <category
423                    android:name="android.intent.category.DEFAULT" />
424                <category
425                    android:name="android.intent.category.BROWSABLE" />
426            </intent-filter>
427
428            <intent-filter android:priority="-1">
429                <action
430                    android:name="android.intent.action.SEND" />
431                <data
432                    android:mimeType="*/*" />
433                <category
434                    android:name="android.intent.category.DEFAULT" />
435            </intent-filter>
436
437            <intent-filter android:priority="-1">
438                <action
439                    android:name="android.intent.action.SEND_MULTIPLE" />
440                <data
441                    android:mimeType="*/*" />
442                <category
443                    android:name="android.intent.category.DEFAULT" />
444            </intent-filter>
445
446                <intent-filter android:priority="-1">
447                <action
448                    android:name="com.android.email.intent.action.REPLY" />
449            </intent-filter>
450
451        </activity>
452
453        <!-- Documents package stubs.
454
455             Copied all intent filters from all activities
456             (except when action was MAIN) in
457             ../packages/apps/DocumentsUi/AndroidManifest.xml
458
459             -->
460        <activity android:name=".Stubs$DocumentsStub"
461            android:exported="true"
462            android:label="@string/stub_name"
463            android:excludeFromRecents="true"
464            android:visibleToInstantApps="true"
465        >
466            <intent-filter android:priority="99">
467                <action android:name="android.intent.action.CREATE_DOCUMENT" />
468                <category android:name="android.intent.category.DEFAULT" />
469                <category android:name="android.intent.category.OPENABLE" />
470                <data android:mimeType="*/*" />
471            </intent-filter>
472            <intent-filter android:priority="99">
473                <action android:name="android.intent.action.GET_CONTENT" />
474                <category android:name="android.intent.category.DEFAULT" />
475                <category android:name="android.intent.category.OPENABLE" />
476                <data android:mimeType="*/*" />
477            </intent-filter>
478            <intent-filter>
479                <action android:name="android.provider.action.MANAGE_ROOT" />
480                <category android:name="android.intent.category.DEFAULT" />
481                <data android:mimeType="vnd.android.document/root" />
482            </intent-filter>
483            <intent-filter android:priority="99">
484                <action android:name="android.intent.action.OPEN_DOCUMENT" />
485                <category android:name="android.intent.category.DEFAULT" />
486                <category android:name="android.intent.category.OPENABLE" />
487                <data android:mimeType="*/*" />
488            </intent-filter>
489            <intent-filter android:priority="99">
490                <action android:name="android.intent.action.OPEN_DOCUMENT_TREE" />
491                <category android:name="android.intent.category.DEFAULT" />
492            </intent-filter>
493        </activity>
494
495        <!-- Music / media stubs. -->
496        <activity android:name=".Stubs$MediaStub"
497            android:exported="true"
498            android:label="@string/stub_name"
499            android:excludeFromRecents="true"
500            >
501            <intent-filter android:priority="-1">
502                <action android:name="android.intent.action.VIEW" />
503                <category android:name="android.intent.category.DEFAULT" />
504                <data android:scheme="http" />
505                <data android:scheme="https" />
506                <data android:scheme="content" />
507                <data android:scheme="file" />
508                <data android:mimeType="audio/*"/>
509                <data android:mimeType="application/ogg"/>
510                <data android:mimeType="application/x-ogg"/>
511                <data android:mimeType="application/itunes"/>
512            </intent-filter>
513            <intent-filter android:priority="-1">
514                <action android:name="android.intent.action.VIEW" />
515                <category android:name="android.intent.category.DEFAULT" />
516                <category android:name="android.intent.category.BROWSABLE" />
517                <data android:scheme="http" />
518                <data android:scheme="https" />
519                <data android:scheme="content" />
520                <data android:scheme="file" />
521                <data android:mimeType="video/mpeg4" />
522                <data android:mimeType="video/mp4" />
523                <data android:mimeType="video/3gp" />
524                <data android:mimeType="video/3gpp" />
525                <data android:mimeType="video/3gpp2" />
526                <data android:mimeType="video/webm" />
527                <data android:mimeType="video/avi" />
528                <data android:mimeType="application/sdp" />
529            </intent-filter>
530            <intent-filter android:priority="-1">
531                <action android:name="android.intent.action.VIEW" />
532                <category android:name="android.intent.category.DEFAULT" />
533                <category android:name="android.intent.category.BROWSABLE" />
534                <data android:scheme="" />
535                <data android:scheme="http" />
536                <data android:scheme="https" />
537                <data android:scheme="content" />
538                <data android:scheme="file" />
539                <data android:mimeType="image/*" />
540            </intent-filter>
541            <intent-filter android:priority="-1">
542                <action android:name="android.intent.action.PICK" />
543                <action android:name="android.intent.action.VIEW" />
544                <category android:name="android.intent.category.DEFAULT" />
545                <data android:mimeType="vnd.android.cursor.dir/image" />
546            </intent-filter>
547            <intent-filter android:priority="-1">
548                <action android:name="android.intent.action.PICK" />
549                <category android:name="android.intent.category.DEFAULT" />
550                <data android:mimeType="vnd.android.cursor.dir/artistalbum"/>
551            </intent-filter>
552            <intent-filter android:priority="-1">
553                <action android:name="android.intent.action.PICK" />
554                <category android:name="android.intent.category.DEFAULT" />
555                <data android:mimeType="vnd.android.cursor.dir/album"/>
556            </intent-filter>
557            <intent-filter android:priority="-1">
558                <action android:name="android.intent.action.PICK" />
559                <category android:name="android.intent.category.DEFAULT" />
560                <data android:mimeType="vnd.android.cursor.dir/nowplaying"/>
561            </intent-filter>
562            <intent-filter android:priority="-1">
563                <action android:name="android.intent.action.EDIT" />
564                <action android:name="android.intent.action.PICK" />
565                <category android:name="android.intent.category.DEFAULT" />
566                <data android:mimeType="vnd.android.cursor.dir/track"/>
567            </intent-filter>
568            <intent-filter android:priority="-1">
569                <action android:name="android.intent.action.SEARCH" />
570                <action android:name="android.intent.action.MEDIA_SEARCH" />
571                <category android:name="android.intent.category.DEFAULT" />
572            </intent-filter>
573            <intent-filter android:priority="-1">
574                <action android:name="android.intent.action.PICK" />
575                <category android:name="android.intent.category.DEFAULT" />
576                <data android:mimeType="vnd.android.cursor.dir/playlist"/>
577            </intent-filter>
578            <intent-filter android:priority="-1">
579                <action android:name="android.intent.action.VIEW" />
580                <category android:name="android.intent.category.DEFAULT" />
581                <data android:mimeType="vnd.android.cursor.dir/playlist"/>
582            </intent-filter>
583            <intent-filter android:priority="-1">
584                <action android:name="android.intent.action.PICK" />
585                <action android:name="android.intent.action.VIEW" />
586                <category android:name="android.intent.category.DEFAULT" />
587                <data android:mimeType="vnd.android.cursor.dir/video"/>
588            </intent-filter>
589            <intent-filter android:priority="-1">
590                <action android:name="android.intent.action.GET_CONTENT" />
591                <category android:name="android.intent.category.DEFAULT" />
592                <category android:name="android.intent.category.OPENABLE" />
593                <data android:mimeType="audio/*"/>
594                <data android:mimeType="application/ogg"/>
595                <data android:mimeType="application/x-ogg"/>
596            </intent-filter>
597            <intent-filter android:priority="-1">
598                <action android:name="android.intent.action.PICK" />
599                <category android:name="android.intent.category.DEFAULT" />
600                <category android:name="android.intent.category.OPENABLE" />
601                <data android:mimeType="vnd.android.cursor.dir/audio"/>
602            </intent-filter>
603            <!-- Ringtone stub -->
604            <intent-filter android:priority="-1">
605                <action android:name="android.intent.action.RINGTONE_PICKER" />
606                <category android:name="android.intent.category.DEFAULT" />
607            </intent-filter>
608            <!-- Downloads -->
609            <intent-filter android:priority="-1">
610                <action android:name="android.intent.action.VIEW_DOWNLOADS" />
611                <category android:name="android.intent.category.DEFAULT" />
612            </intent-filter>
613        </activity>
614
615        <!-- Settings package stubs. -->
616        <activity android:name=".Stubs$SettingsStub"
617            android:exported="true"
618            android:label="@string/stub_name"
619            android:excludeFromRecents="true"
620            >
621            <intent-filter android:priority="-1">
622                <action android:name="android.settings.ACCESSIBILITY_SETTINGS" />
623                <category android:name="android.intent.category.DEFAULT" />
624            </intent-filter>
625            <intent-filter android:priority="-1">
626                <action android:name="android.settings.USER_DICTIONARY_SETTINGS" />
627                <category android:name="android.intent.category.DEFAULT" />
628            </intent-filter>
629            <intent-filter android:priority="-1">
630                <action android:name="android.settings.ENTERPRISE_PRIVACY_SETTINGS" />
631                <category android:name="android.intent.category.DEFAULT" />
632            </intent-filter>
633            <intent-filter android:priority="-1">
634                <action android:name="android.settings.REQUEST_MANAGE_MEDIA" />
635                <category android:name="android.intent.category.DEFAULT" />
636            </intent-filter>
637        </activity>
638
639        <activity android:name=".Stubs$SettingsPrivacyStub"
640            android:exported="true"
641            android:label="@string/stub_name"
642            android:excludeFromRecents="true"
643            >
644            <intent-filter android:priority="-1">
645                <action android:name="android.settings.PRIVACY_SETTINGS" />
646                <category android:name="android.intent.category.DEFAULT" />
647                <category android:name="android.intent.category.VOICE_LAUNCH" />
648            </intent-filter>
649        </activity>
650
651        <!-- Clock package stubs. -->
652        <activity android:name=".Stub$ClockStub"
653            android:exported="true"
654            android:label="@string/stub_name"
655            android:excludeFromRecents="true"
656            >
657            <intent-filter android:priority="-1">
658                <action android:name="android.intent.action.DISMISS_ALARM" />
659                <category android:name="android.intent.category.DEFAULT" />
660            </intent-filter>
661            <intent-filter android:priority="-1">
662                <action android:name="android.intent.action.SET_ALARM" />
663                <category android:name="android.intent.category.DEFAULT" />
664            </intent-filter>
665            <intent-filter android:priority="-1">
666                <action android:name="android.intent.action.SHOW_ALARMS" />
667                <category android:name="android.intent.category.DEFAULT" />
668            </intent-filter>
669            <intent-filter android:priority="-1">
670                <action android:name="android.intent.action.SET_TIMER" />
671                <category android:name="android.intent.category.DEFAULT" />
672            </intent-filter>
673            <intent-filter android:priority="-1">
674                <action android:name="android.intent.action.SNOOZE_ALARM" />
675                <category android:name="android.intent.category.DEFAULT" />
676            </intent-filter>
677        </activity>
678    </application>
679
680</manifest>
681