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        <!-- Camera package stubs -->
111        <activity android:name=".Stubs$CameraStub"
112            android:exported="true"
113            android:label="@string/stub_name"
114            android:excludeFromRecents="true"
115            android:visibleToInstantApps="true"
116            >
117            <meta-data android:name="com.android.tv.stub" android:value="true" />
118            <intent-filter android:priority="-1">
119                <action android:name="android.media.action.IMAGE_CAPTURE" />
120                <category android:name="android.intent.category.DEFAULT" />
121            </intent-filter>
122            <intent-filter android:priority="-1">
123                <action android:name="android.media.action.VIDEO_CAPTURE" />
124                <category android:name="android.intent.category.DEFAULT" />
125            </intent-filter>
126            <intent-filter android:priority="-1">
127                <action android:name="android.media.action.STILL_IMAGE_CAMERA" />
128                <category android:name="android.intent.category.DEFAULT" />
129            </intent-filter>
130            <intent-filter android:priority="-1">
131                <action android:name="android.media.action.VIDEO_CAMERA" />
132                <category android:name="android.intent.category.DEFAULT" />
133            </intent-filter>
134        </activity>
135
136
137        <!-- Contacts package stubs.
138
139             Copied all intent filters from all activities
140             (except when action was MAIN) in
141             ../packages/apps/Contacts/AndroidManifest.xml
142
143             -->
144        <activity android:name=".Stubs$ContactsStub"
145            android:exported="true"
146            android:label="@string/stub_name"
147            android:excludeFromRecents="true"
148            android:visibleToInstantApps="true"
149            >
150
151            <meta-data android:name="com.android.tv.stub" android:value="true" />
152
153            <intent-filter android:priority="-1">
154                <action android:name="com.android.phone.action.TOUCH_DIALER" />
155                <category android:name="android.intent.category.DEFAULT" />
156                <category android:name="android.intent.category.TAB" />
157            </intent-filter>
158
159            <intent-filter android:priority="-1">
160                <action android:name="com.android.phone.action.RECENT_CALLS" />
161                <category android:name="android.intent.category.DEFAULT" />
162                <category android:name="android.intent.category.TAB" />
163            </intent-filter>
164
165            <intent-filter android:priority="-1">
166                <action android:name="android.intent.action.DIAL" />
167                <category android:name="android.intent.category.DEFAULT" />
168                <category android:name="android.intent.category.BROWSABLE" />
169                <data android:mimeType="vnd.android.cursor.item/phone" />
170                <data android:mimeType="vnd.android.cursor.item/person" />
171            </intent-filter>
172
173            <intent-filter android:priority="-1">
174                <action android:name="android.intent.action.DIAL" />
175                <category android:name="android.intent.category.DEFAULT" />
176                <category android:name="android.intent.category.BROWSABLE" />
177                <data android:scheme="voicemail" />
178            </intent-filter>
179
180            <intent-filter android:priority="-1">
181                <action android:name="android.intent.action.DIAL" />
182                <category android:name="android.intent.category.DEFAULT" />
183            </intent-filter>
184
185            <intent-filter android:priority="-1">
186                <action android:name="android.intent.action.VIEW" />
187                <action android:name="android.intent.action.DIAL" />
188                <category android:name="android.intent.category.DEFAULT" />
189                <category android:name="android.intent.category.BROWSABLE" />
190                <data android:scheme="tel" />
191            </intent-filter>
192
193            <intent-filter android:priority="-1">
194                <action android:name="android.intent.action.VIEW" />
195                <category android:name="android.intent.category.DEFAULT" />
196                <category android:name="android.intent.category.BROWSABLE" />
197                <data android:mimeType="vnd.android.cursor.dir/calls" />
198            </intent-filter>
199
200            <intent-filter android:priority="-1">
201                <action android:name="android.intent.action.CALL_BUTTON" />
202                <category android:name="android.intent.category.DEFAULT" />
203                <category android:name="android.intent.category.BROWSABLE" />
204            </intent-filter>
205
206            <intent-filter android:priority="-1">
207                <action android:name="android.intent.action.DIAL" />
208                <category android:name="android.intent.category.DEFAULT" />
209                <category android:name="android.intent.category.BROWSABLE" />
210                <data android:mimeType="vnd.android.cursor.item/phone" />
211                <data android:mimeType="vnd.android.cursor.item/person" />
212            </intent-filter>
213
214            <intent-filter android:priority="-1">
215                <action android:name="android.intent.action.DIAL" />
216                <category android:name="android.intent.category.DEFAULT" />
217                <category android:name="android.intent.category.BROWSABLE" />
218                <data android:scheme="voicemail" />
219            </intent-filter>
220
221            <intent-filter android:priority="-1">
222                <action android:name="android.intent.action.DIAL" />
223                <category android:name="android.intent.category.DEFAULT" />
224            </intent-filter>
225
226            <intent-filter android:priority="-1">
227                <action android:name="android.intent.action.VIEW" />
228                <action android:name="android.intent.action.DIAL" />
229                <category android:name="android.intent.category.DEFAULT" />
230                <category android:name="android.intent.category.BROWSABLE" />
231                <data android:scheme="tel" />
232            </intent-filter>
233
234            <intent-filter android:priority="-1">
235                <action android:name="android.intent.action.VIEW" />
236                <category android:name="android.intent.category.DEFAULT" />
237                <category android:name="android.intent.category.BROWSABLE" />
238                <data android:mimeType="vnd.android.cursor.dir/calls" />
239            </intent-filter>
240
241            <intent-filter android:priority="-1">
242                <action android:name="android.intent.action.CALL_BUTTON" />
243                <category android:name="android.intent.category.DEFAULT" />
244                <category android:name="android.intent.category.BROWSABLE" />
245            </intent-filter>
246
247            <intent-filter android:priority="-1">
248                <action android:name="android.intent.action.VIEW" />
249                <category android:name="android.intent.category.DEFAULT" />
250                <data android:mimeType="vnd.android.cursor.dir/person" />
251                <data android:mimeType="vnd.android.cursor.dir/contact" />
252                <data android:mimeType="vnd.android.cursor.item/person" />
253                <data android:mimeType="vnd.android.cursor.item/contact" />
254                <data android:mimeType="vnd.android.cursor.item/raw_contact" />
255            </intent-filter>
256
257            <intent-filter android:priority="-1">
258                <action android:name="com.android.contacts.action.LIST_DEFAULT" />
259                <category android:name="android.intent.category.DEFAULT" />
260                <category android:name="android.intent.category.TAB" />
261            </intent-filter>
262
263            <intent-filter android:priority="-1">
264                <action android:name="com.android.contacts.action.LIST_CONTACTS" />
265                <category android:name="android.intent.category.DEFAULT" />
266                <category android:name="android.intent.category.TAB" />
267            </intent-filter>
268
269            <intent-filter android:priority="-1">
270                <action android:name="com.android.contacts.action.LIST_ALL_CONTACTS" />
271                <category android:name="android.intent.category.DEFAULT" />
272                <category android:name="android.intent.category.TAB" />
273            </intent-filter>
274
275            <intent-filter android:priority="-1">
276                <action android:name="com.android.contacts.action.LIST_CONTACTS_WITH_PHONES" />
277                <category android:name="android.intent.category.DEFAULT" />
278                <category android:name="android.intent.category.TAB" />
279            </intent-filter>
280
281            <intent-filter android:priority="-1">
282                <action android:name="com.android.contacts.action.LIST_STARRED" />
283                <category android:name="android.intent.category.DEFAULT" />
284                <category android:name="android.intent.category.TAB" />
285            </intent-filter>
286
287            <intent-filter android:priority="-1">
288                <action android:name="com.android.contacts.action.LIST_FREQUENT" />
289                <category android:name="android.intent.category.DEFAULT" />
290                <category android:name="android.intent.category.TAB" />
291            </intent-filter>
292
293            <intent-filter android:priority="-1">
294                <action android:name="com.android.contacts.action.LIST_STREQUENT" />
295                <category android:name="android.intent.category.DEFAULT" />
296                <category android:name="android.intent.category.TAB" />
297            </intent-filter>
298
299            <intent-filter android:priority="-1">
300                <action android:name="android.intent.action.SEARCH" />
301                <category android:name="android.intent.category.DEFAULT" />
302                <data android:mimeType="vnd.android.cursor.dir/contact" />
303            </intent-filter>
304
305            <intent-filter android:priority="-1">
306                <action android:name="android.intent.action.SEARCH" />
307                <category android:name="android.intent.category.DEFAULT" />
308            </intent-filter>
309
310            <intent-filter android:priority="-1">
311                <action android:name="com.android.contacts.action.FILTER_CONTACTS" />
312                <category android:name="android.intent.category.DEFAULT" />
313                <data android:mimeType="vnd.android.cursor.dir/contact" />
314            </intent-filter>
315
316            <intent-filter android:priority="-1">
317                <action android:name="android.intent.action.INSERT_OR_EDIT" />
318                <category android:name="android.intent.category.DEFAULT" />
319                <data android:mimeType="vnd.android.cursor.item/person" />
320                <data android:mimeType="vnd.android.cursor.item/contact" />
321                <data android:mimeType="vnd.android.cursor.item/raw_contact" />
322            </intent-filter>
323
324            <intent-filter android:priority="-1">
325                <action android:name="android.intent.action.PICK" />
326                <category android:name="android.intent.category.DEFAULT" />
327                <data android:mimeType="vnd.android.cursor.dir/contact" />
328                <data android:mimeType="vnd.android.cursor.dir/person" />
329                <data android:mimeType="vnd.android.cursor.dir/phone_v2" />
330                <data android:mimeType="vnd.android.cursor.dir/phone" />
331                <data android:mimeType="vnd.android.cursor.dir/postal-address_v2" />
332                <data android:mimeType="vnd.android.cursor.dir/postal-address" />
333            </intent-filter>
334
335            <intent-filter android:priority="-1">
336                <action android:name="android.intent.action.GET_CONTENT" />
337                <category android:name="android.intent.category.DEFAULT" />
338                <data android:mimeType="vnd.android.cursor.item/contact" />
339                <data android:mimeType="vnd.android.cursor.item/person" />
340                <data android:mimeType="vnd.android.cursor.item/phone_v2" />
341                <data android:mimeType="vnd.android.cursor.item/phone" />
342                <data android:mimeType="vnd.android.cursor.item/postal-address_v2" />
343                <data android:mimeType="vnd.android.cursor.item/postal-address" />
344            </intent-filter>
345
346            <intent-filter android:priority="-1">
347                <action android:name="com.android.contacts.action.JOIN_CONTACT" />
348                <category android:name="android.intent.category.DEFAULT" />
349            </intent-filter>
350
351            <intent-filter android:priority="-1">
352                <action android:name="com.android.contacts.action.SHOW_OR_CREATE_CONTACT" />
353                <category android:name="android.intent.category.DEFAULT" />
354                <data android:scheme="mailto" />
355                <data android:scheme="tel" />
356            </intent-filter>
357
358            <intent-filter android:priority="-1">
359                <action android:name="com.android.contacts.action.QUICK_CONTACT" />
360                <category android:name="android.intent.category.DEFAULT" />
361                <data android:mimeType="vnd.android.cursor.item/contact" />
362                <data android:mimeType="vnd.android.cursor.item/person" />
363            </intent-filter>
364
365            <intent-filter android:priority="-1">
366                <action android:name="android.intent.action.VIEW" />
367                <category android:name="android.intent.category.DEFAULT" />
368                <data android:mimeType="vnd.android.cursor.item/calls" />
369            </intent-filter>
370
371            <intent-filter android:priority="-1">
372                <action android:name="android.intent.action.EDIT" />
373                <category android:name="android.intent.category.DEFAULT" />
374                <data android:mimeType="vnd.android.cursor.item/person" />
375                <data android:mimeType="vnd.android.cursor.item/contact" />
376                <data android:mimeType="vnd.android.cursor.item/raw_contact" />
377            </intent-filter>
378
379            <intent-filter android:priority="-1">
380                <action android:name="android.intent.action.INSERT" />
381                <category android:name="android.intent.category.DEFAULT" />
382                <data android:mimeType="vnd.android.cursor.dir/person" />
383                <data android:mimeType="vnd.android.cursor.dir/contact" />
384                <data android:mimeType="vnd.android.cursor.dir/raw_contact" />
385            </intent-filter>
386
387            <intent-filter android:priority="-1">
388                <action android:name="android.intent.action.VIEW" />
389                <data android:mimeType="text/directory" />
390                <data android:mimeType="text/vcard" />
391                <data android:mimeType="text/x-vcard" />
392                <category android:name="android.intent.category.DEFAULT" />
393            </intent-filter>
394
395            <intent-filter android:priority="-1">
396                <action android:name="android.provider.action.SET_DEFAULT_ACCOUNT"/>
397                <category android:name="android.intent.category.DEFAULT"/>
398            </intent-filter>
399
400        </activity>
401
402        <!-- Email package stubs.
403
404             Copied all intent filters from all activities
405             (except when action was MAIN) in
406             ../packages/apps/Email/AndroidManifest.xml
407
408             -->
409        <activity android:name=".Stubs$EmailStub"
410            android:exported="true"
411            android:label="@string/stub_name"
412            android:excludeFromRecents="true"
413            >
414
415            <meta-data android:name="com.android.tv.stub" android:value="true" />
416
417            <intent-filter android:priority="-1">
418                <action
419                    android:name="com.android.email.CREATE_ACCOUNT" />
420                <category
421                    android:name="android.intent.category.DEFAULT" />
422            </intent-filter>
423
424            <intent-filter android:priority="-1">
425                <action
426                    android:name="com.android.email.activity.setup.ACCOUNT_MANAGER_ENTRY" />
427                <category
428                    android:name="android.intent.category.DEFAULT" />
429            </intent-filter>
430
431            <intent-filter android:priority="-1">
432                <action
433                    android:name="android.intent.action.VIEW" />
434                <data
435                    android:mimeType="application/eml" />
436                <data
437                    android:mimeType="message/rfc822" />
438                <category
439                    android:name="android.intent.category.DEFAULT" />
440            </intent-filter>
441
442            <intent-filter android:priority="-1">
443                <action
444                    android:name="android.intent.action.VIEW" />
445                <action
446                    android:name="android.intent.action.SENDTO" />
447                <data
448                    android:scheme="mailto" />
449                <category
450                    android:name="android.intent.category.DEFAULT" />
451                <category
452                    android:name="android.intent.category.BROWSABLE" />
453            </intent-filter>
454
455            <intent-filter android:priority="-1">
456                <action
457                    android:name="android.intent.action.SEND" />
458                <data
459                    android:mimeType="*/*" />
460                <category
461                    android:name="android.intent.category.DEFAULT" />
462            </intent-filter>
463
464            <intent-filter android:priority="-1">
465                <action
466                    android:name="android.intent.action.SEND_MULTIPLE" />
467                <data
468                    android:mimeType="*/*" />
469                <category
470                    android:name="android.intent.category.DEFAULT" />
471            </intent-filter>
472
473                <intent-filter android:priority="-1">
474                <action
475                    android:name="com.android.email.intent.action.REPLY" />
476            </intent-filter>
477
478        </activity>
479
480        <!-- Documents package stubs.
481
482             Copied all intent filters from all activities
483             (except when action was MAIN) in
484             ../packages/apps/DocumentsUi/AndroidManifest.xml
485
486             -->
487        <activity android:name=".Stubs$DocumentsStub"
488            android:exported="true"
489            android:label="@string/stub_name"
490            android:excludeFromRecents="true"
491            android:visibleToInstantApps="true"
492        >
493            <intent-filter android:priority="99">
494                <action android:name="android.intent.action.CREATE_DOCUMENT" />
495                <category android:name="android.intent.category.DEFAULT" />
496                <category android:name="android.intent.category.OPENABLE" />
497                <data android:mimeType="*/*" />
498            </intent-filter>
499            <intent-filter android:priority="99">
500                <action android:name="android.intent.action.GET_CONTENT" />
501                <category android:name="android.intent.category.DEFAULT" />
502                <category android:name="android.intent.category.OPENABLE" />
503                <data android:mimeType="*/*" />
504            </intent-filter>
505            <intent-filter>
506                <action android:name="android.provider.action.MANAGE_ROOT" />
507                <category android:name="android.intent.category.DEFAULT" />
508                <data android:mimeType="vnd.android.document/root" />
509            </intent-filter>
510            <intent-filter android:priority="99">
511                <action android:name="android.intent.action.OPEN_DOCUMENT" />
512                <category android:name="android.intent.category.DEFAULT" />
513                <category android:name="android.intent.category.OPENABLE" />
514                <data android:mimeType="*/*" />
515            </intent-filter>
516            <intent-filter android:priority="99">
517                <action android:name="android.intent.action.OPEN_DOCUMENT_TREE" />
518                <category android:name="android.intent.category.DEFAULT" />
519            </intent-filter>
520        </activity>
521
522        <!-- Music / media stubs. -->
523        <activity android:name=".Stubs$MediaStub"
524            android:exported="true"
525            android:label="@string/stub_name"
526            android:excludeFromRecents="true"
527            >
528            <intent-filter android:priority="-1">
529                <action android:name="android.intent.action.VIEW" />
530                <category android:name="android.intent.category.DEFAULT" />
531                <data android:scheme="http" />
532                <data android:scheme="https" />
533                <data android:scheme="content" />
534                <data android:scheme="file" />
535                <data android:mimeType="audio/*"/>
536                <data android:mimeType="application/ogg"/>
537                <data android:mimeType="application/x-ogg"/>
538                <data android:mimeType="application/itunes"/>
539            </intent-filter>
540            <intent-filter android:priority="-1">
541                <action android:name="android.intent.action.VIEW" />
542                <category android:name="android.intent.category.DEFAULT" />
543                <category android:name="android.intent.category.BROWSABLE" />
544                <data android:scheme="http" />
545                <data android:scheme="https" />
546                <data android:scheme="content" />
547                <data android:scheme="file" />
548                <data android:mimeType="video/mpeg4" />
549                <data android:mimeType="video/mp4" />
550                <data android:mimeType="video/3gp" />
551                <data android:mimeType="video/3gpp" />
552                <data android:mimeType="video/3gpp2" />
553                <data android:mimeType="video/webm" />
554                <data android:mimeType="video/avi" />
555                <data android:mimeType="application/sdp" />
556            </intent-filter>
557            <intent-filter android:priority="-1">
558                <action android:name="android.intent.action.VIEW" />
559                <category android:name="android.intent.category.DEFAULT" />
560                <category android:name="android.intent.category.BROWSABLE" />
561                <data android:scheme="" />
562                <data android:scheme="http" />
563                <data android:scheme="https" />
564                <data android:scheme="content" />
565                <data android:scheme="file" />
566                <data android:mimeType="image/*" />
567            </intent-filter>
568            <intent-filter android:priority="-1">
569                <action android:name="android.intent.action.PICK" />
570                <action android:name="android.intent.action.VIEW" />
571                <category android:name="android.intent.category.DEFAULT" />
572                <data android:mimeType="vnd.android.cursor.dir/image" />
573            </intent-filter>
574            <intent-filter android:priority="-1">
575                <action android:name="android.intent.action.PICK" />
576                <category android:name="android.intent.category.DEFAULT" />
577                <data android:mimeType="vnd.android.cursor.dir/artistalbum"/>
578            </intent-filter>
579            <intent-filter android:priority="-1">
580                <action android:name="android.intent.action.PICK" />
581                <category android:name="android.intent.category.DEFAULT" />
582                <data android:mimeType="vnd.android.cursor.dir/album"/>
583            </intent-filter>
584            <intent-filter android:priority="-1">
585                <action android:name="android.intent.action.PICK" />
586                <category android:name="android.intent.category.DEFAULT" />
587                <data android:mimeType="vnd.android.cursor.dir/nowplaying"/>
588            </intent-filter>
589            <intent-filter android:priority="-1">
590                <action android:name="android.intent.action.EDIT" />
591                <action android:name="android.intent.action.PICK" />
592                <category android:name="android.intent.category.DEFAULT" />
593                <data android:mimeType="vnd.android.cursor.dir/track"/>
594            </intent-filter>
595            <intent-filter android:priority="-1">
596                <action android:name="android.intent.action.SEARCH" />
597                <action android:name="android.intent.action.MEDIA_SEARCH" />
598                <category android:name="android.intent.category.DEFAULT" />
599            </intent-filter>
600            <intent-filter android:priority="-1">
601                <action android:name="android.intent.action.PICK" />
602                <category android:name="android.intent.category.DEFAULT" />
603                <data android:mimeType="vnd.android.cursor.dir/playlist"/>
604            </intent-filter>
605            <intent-filter android:priority="-1">
606                <action android:name="android.intent.action.VIEW" />
607                <category android:name="android.intent.category.DEFAULT" />
608                <data android:mimeType="vnd.android.cursor.dir/playlist"/>
609            </intent-filter>
610            <intent-filter android:priority="-1">
611                <action android:name="android.intent.action.PICK" />
612                <action android:name="android.intent.action.VIEW" />
613                <category android:name="android.intent.category.DEFAULT" />
614                <data android:mimeType="vnd.android.cursor.dir/video"/>
615            </intent-filter>
616            <intent-filter android:priority="-1">
617                <action android:name="android.intent.action.GET_CONTENT" />
618                <category android:name="android.intent.category.DEFAULT" />
619                <category android:name="android.intent.category.OPENABLE" />
620                <data android:mimeType="audio/*"/>
621                <data android:mimeType="application/ogg"/>
622                <data android:mimeType="application/x-ogg"/>
623            </intent-filter>
624            <intent-filter android:priority="-1">
625                <action android:name="android.intent.action.PICK" />
626                <category android:name="android.intent.category.DEFAULT" />
627                <category android:name="android.intent.category.OPENABLE" />
628                <data android:mimeType="vnd.android.cursor.dir/audio"/>
629            </intent-filter>
630            <!-- Ringtone stub -->
631            <intent-filter android:priority="-1">
632                <action android:name="android.intent.action.RINGTONE_PICKER" />
633                <category android:name="android.intent.category.DEFAULT" />
634            </intent-filter>
635            <!-- Downloads -->
636            <intent-filter android:priority="-1">
637                <action android:name="android.intent.action.VIEW_DOWNLOADS" />
638                <category android:name="android.intent.category.DEFAULT" />
639            </intent-filter>
640        </activity>
641
642        <!-- Settings package stubs. -->
643        <activity android:name=".Stubs$SettingsStub"
644            android:exported="true"
645            android:label="@string/stub_name"
646            android:excludeFromRecents="true"
647            >
648            <intent-filter android:priority="-1">
649                <action android:name="android.settings.ACCESSIBILITY_SETTINGS" />
650                <category android:name="android.intent.category.DEFAULT" />
651            </intent-filter>
652            <intent-filter android:priority="-1">
653                <action android:name="android.settings.USER_DICTIONARY_SETTINGS" />
654                <category android:name="android.intent.category.DEFAULT" />
655            </intent-filter>
656            <intent-filter android:priority="-1">
657                <action android:name="android.settings.ENTERPRISE_PRIVACY_SETTINGS" />
658                <category android:name="android.intent.category.DEFAULT" />
659            </intent-filter>
660            <intent-filter android:priority="-1">
661                <action android:name="android.intent.action.POWER_USAGE_SUMMARY" />
662                <category android:name="android.intent.category.DEFAULT" />
663            </intent-filter>
664            <intent-filter android:priority="-1">
665                <action android:name="android.settings.REQUEST_MANAGE_MEDIA" />
666                <category android:name="android.intent.category.DEFAULT" />
667            </intent-filter>
668            <intent-filter android:priority="-1">
669                <action android:name="android.intent.action.SET_WALLPAPER" />
670                <category android:name="android.intent.category.DEFAULT" />
671            </intent-filter>
672        </activity>
673
674        <activity android:name=".Stubs$SettingsPrivacyStub"
675            android:exported="true"
676            android:label="@string/stub_name"
677            android:excludeFromRecents="true"
678            >
679            <intent-filter android:priority="-1">
680                <action android:name="android.settings.PRIVACY_SETTINGS" />
681                <category android:name="android.intent.category.DEFAULT" />
682                <category android:name="android.intent.category.VOICE_LAUNCH" />
683            </intent-filter>
684        </activity>
685
686        <!-- Clock package stubs. -->
687        <activity android:name=".Stub$ClockStub"
688            android:exported="true"
689            android:label="@string/stub_name"
690            android:excludeFromRecents="true"
691            >
692            <intent-filter android:priority="-1">
693                <action android:name="android.intent.action.DISMISS_ALARM" />
694                <category android:name="android.intent.category.DEFAULT" />
695            </intent-filter>
696            <intent-filter android:priority="-1">
697                <action android:name="android.intent.action.SET_ALARM" />
698                <category android:name="android.intent.category.DEFAULT" />
699            </intent-filter>
700            <intent-filter android:priority="-1">
701                <action android:name="android.intent.action.SHOW_ALARMS" />
702                <category android:name="android.intent.category.DEFAULT" />
703            </intent-filter>
704            <intent-filter android:priority="-1">
705                <action android:name="android.intent.action.SET_TIMER" />
706                <category android:name="android.intent.category.DEFAULT" />
707            </intent-filter>
708            <intent-filter android:priority="-1">
709                <action android:name="android.intent.action.SNOOZE_ALARM" />
710                <category android:name="android.intent.category.DEFAULT" />
711            </intent-filter>
712        </activity>
713    </application>
714
715</manifest>
716