Commit | Line | Data |
---|---|---|
83dc35bd S |
1 | <?xml version='1.0' encoding='utf-8' standalone='yes'?> |
2 | <!-- Copyright (C) 2012 The Android Open Source Project | |
3 | ||
4 | Licensed under the Apache License, Version 2.0 (the "License"); | |
5 | you may not use this file except in compliance with the License. | |
6 | You may obtain a copy of the License at | |
7 | ||
8 | http://www.apache.org/licenses/LICENSE-2.0 | |
9 | ||
10 | Unless required by applicable law or agreed to in writing, software | |
11 | distributed under the License is distributed on an "AS IS" BASIS, | |
12 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | |
13 | See the License for the specific language governing permissions and | |
14 | limitations under the License. | |
15 | --> | |
16 | ||
17 | <!-- | |
18 | These are the default set of preferred applications for various standard | |
19 | web URIs of Google properties to built-in Google Android applications. | |
20 | ||
21 | To generate new entries, set whatever app you want to be the default as | |
22 | normal through the UI, and then use "adb shell dumpsys package preferred-xml" | |
23 | to get the XML structure for the current preferred apps. You will probably | |
24 | want to clean up the output some, such as adding the BROWSABLE category. See | |
25 | the other entries here for guides. | |
26 | --> | |
27 | <preferred-activities> | |
28 | <item name="com.google.android.apps.plus/.editor.PlusEditorActivity"> | |
29 | <filter> | |
30 | <action name="android.intent.action.EDIT" /> | |
31 | <cat name="android.intent.category.DEFAULT" /> | |
32 | <type name="image/bmp" /> | |
33 | <type name="image/jpeg" /> | |
34 | <type name="image/gif" /> | |
35 | <type name="image/png" /> | |
36 | <type name="image/webp" /> | |
37 | <type name="image/x-ms-bmp" /> | |
38 | <type name="image/vnd.wap.wbmp" /> | |
39 | </filter> | |
40 | </item> | |
41 | <item name="com.google.android.apps.plus/.editor.PlusCropActivity"> | |
42 | <filter> | |
43 | <action name="com.android.camera.action.CROP" /> | |
44 | <cat name="android.intent.category.DEFAULT" /> | |
45 | <type name="image/bmp" /> | |
46 | <type name="image/jpeg" /> | |
47 | <type name="image/gif" /> | |
48 | <type name="image/png" /> | |
49 | <type name="image/webp" /> | |
50 | <type name="image/x-ms-bmp" /> | |
51 | <type name="image/vnd.wap.wbmp" /> | |
52 | </filter> | |
53 | </item> | |
54 | <item name="com.google.android.apps.plus/.phone.ConversationListActivity"> | |
55 | <filter> | |
56 | <action name="android.intent.action.MAIN" /> | |
57 | <cat name="android.intent.category.APP_GALLERY" /> | |
58 | <cat name="android.intent.category.DEFAULT" /> | |
59 | </filter> | |
60 | </item> | |
61 | <item name="com.google.android.apps.docs.editors.sheets/com.google.android.apps.docs.editors.trix.quicksheet.QuickSheetDocumentOpenerActivityAlias"> | |
62 | <filter> | |
63 | <action name="android.intent.action.EDIT" /> | |
64 | <cat name="android.intent.category.DEFAULT" /> | |
65 | <type name="application/vnd.openxmlformats-officedocument.spreadsheetml.sheet" /> | |
66 | <type name="application/vnd.ms-excel.sheet.macroenabled.12" /> | |
67 | <type name="application/vnd.ms-excel" /> | |
68 | <type name="application/vnd.ms-excel.addin.macroenabled.12" /> | |
69 | <type name="application/vnd.ms-excel.template.macroenabled.12" /> | |
70 | <type name="application/vnd.openxmlformats-officedocument.spreadsheetml.template" /> | |
71 | <type name="application/x-msexcel" /> | |
72 | </filter> | |
73 | </item> | |
74 | <item name="com.google.android.apps.docs.editors.docs/com.google.android.apps.docs.editors.kix.quickword.QuickWordDocumentOpenerActivityAlias"> | |
75 | <filter> | |
76 | <action name="android.intent.action.EDIT" /> | |
77 | <cat name="android.intent.category.DEFAULT" /> | |
78 | <type name="application/vnd.ms-word" /> | |
79 | <type name="application/vnd.openxmlformats-officedocument.wordprocessingml.document" /> | |
80 | <type name="application/vnd.ms-word.document.macroenabled.12" /> | |
81 | <type name="application/msword" /> | |
82 | <type name="application/vnd.ms-word.template.macroenabled.12" /> | |
83 | <type name="application/vnd.openxmlformats-officedocument.wordprocessingml.template" /> | |
84 | <type name="application/x-msword" /> | |
85 | </filter> | |
86 | </item> | |
87 | <item name="com.google.android.apps.docs.editors.slides/com.google.android.apps.docs.editors.kix.quickword.QuickWordDocumentOpenerActivityAlias"> | |
88 | <filter> | |
89 | <action name="android.intent.action.EDIT" /> | |
90 | <cat name="android.intent.category.DEFAULT" /> | |
91 | <type name="application/vnd.openxmlformats-officedocument.presentationml.presentation" /> | |
92 | <type name="application/vnd.ms-powerpoint" /> | |
93 | <type name="application/vnd.openxmlformats-officedocument.presentationml.template" /> | |
94 | <type name="application/vnd.ms-powerpoint.presentation.macroenabled.12" /> | |
95 | <type name="application/vnd.openxmlformats-officedocument.presentationml.slideshow" /> | |
96 | <type name="application/vnd.ms-powerpoint.slideshow.macroenabled.12" /> | |
97 | <type name="application/x-mspowerpoint" /> | |
98 | ||
99 | </filter> | |
100 | </item> | |
101 | </preferred-activities> |