summaryrefstree
path: root/product/etc/preferred-apps/google.xml
blob: 161f9d9761499bca0b97b338103989e0d96d5771 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
<?xml version='1.0' encoding='utf-8' standalone='yes'?>
<preferred-activities>
    <item name="com.google.android.apps.photos/.pager.HostPhotoPagerActivity">
        <filter>
            <action name="android.intent.action.VIEW" />
            <cat name="android.intent.category.DEFAULT" />
            <!-- get from /libcore/luni/src/main/java/libcore/net/MimeUtils.java, because "image/*" "image/" "image" invalid -->
            <type name="image/bmp" />
            <type name="image/gif" />
            <type name="image/ico" />
            <type name="image/ief" />
            <type name="image/jpeg" />
            <type name="image/pcx" />
            <type name="image/png" />
            <type name="image/svg+xml" />
            <type name="image/tiff" />
            <type name="image/vnd.djvu" />
            <type name="image/vnd.wap.wbmp" />
            <type name="image/webp" />
            <type name="image/x-adobe-dng" />
            <type name="image/x-canon-cr2" />
            <type name="image/x-cmu-raster" />
            <type name="image/x-coreldraw" />
            <type name="image/x-coreldrawpattern" />
            <type name="image/x-coreldrawtemplate" />
            <type name="image/x-corelphotopaint" />
            <type name="image/x-fuji-raf" />
            <type name="image/x-icon" />
            <type name="image/x-jg" />
            <type name="image/x-jng" />
            <type name="image/x-ms-bmp" />
            <type name="image/x-nikon-nef" />
            <type name="image/x-nikon-nrw" />
            <type name="image/x-olympus-orf" />
            <type name="image/x-panasonic-rw2" />
            <type name="image/x-pentax-pef" />
            <type name="image/x-photoshop" />
            <type name="image/x-portable-anymap" />
            <type name="image/x-portable-bitmap" />
            <type name="image/x-portable-graymap" />
            <type name="image/x-portable-pixmap" />
            <type name="image/x-rgb" />
            <type name="image/x-samsung-srw" />
            <type name="image/x-sony-arw" />
            <type name="image/x-xbitmap" />
            <type name="image/x-xpixmap" />
            <type name="image/x-xwindowdump" />
            <!-- get from Photos AndroidManifest.xml -->
            <type name="video/3gpp" />
            <type name="video/3gpp" />
            <type name="video/3gpp2" />
            <type name="video/avi" />
            <type name="video/mp4" />
            <type name="video/mpeg" />
            <type name="video/mpeg4" />
            <type name="video/quicktime" />
            <type name="video/webm" />
            <type name="video/x-matroska" />
        </filter>
    </item>
    <item name="com.google.android.apps.photos/.home.HomeActivity">
        <filter>
            <action name="android.intent.action.MAIN" />
            <cat name="android.intent.category.APP_GALLERY" />
            <cat name="android.intent.category.DEFAULT" />
        </filter>
    </item>
    <item name="com.google.android.apps.docs.editors.sheets/com.google.android.apps.docs.editors.trix.quicksheet.QuickSheetDocumentOpenerActivityAlias">
        <filter>
            <action name="android.intent.action.EDIT" />
            <cat name="android.intent.category.DEFAULT" />
            <type name="application/vnd.openxmlformats-officedocument.spreadsheetml.sheet" />
            <type name="application/vnd.ms-excel.sheet.macroenabled.12" />
            <type name="application/vnd.ms-excel" />
            <type name="application/vnd.ms-excel.addin.macroenabled.12" />
            <type name="application/vnd.ms-excel.template.macroenabled.12" />
            <type name="application/vnd.openxmlformats-officedocument.spreadsheetml.template" />
            <type name="application/x-msexcel" />
        </filter>
    </item>
    <item name="com.google.android.apps.docs.editors.docs/com.google.android.apps.docs.editors.kix.quickword.QuickWordDocumentOpenerActivityAlias">
      <filter>
            <action name="android.intent.action.EDIT" />
            <cat name="android.intent.category.DEFAULT" />
            <type name="application/vnd.ms-word" />
            <type name="application/vnd.openxmlformats-officedocument.wordprocessingml.document" />
            <type name="application/vnd.ms-word.document.macroenabled.12" />
            <type name="application/msword" />
            <type name="application/vnd.ms-word.template.macroenabled.12" />
            <type name="application/vnd.openxmlformats-officedocument.wordprocessingml.template" />
            <type name="application/x-msword" />
      </filter>
    </item>
    <item name="com.google.android.apps.docs.editors.slides/com.google.android.apps.docs.editors.kix.quickword.QuickWordDocumentOpenerActivityAlias">
      <filter>
            <action name="android.intent.action.EDIT" />
            <cat name="android.intent.category.DEFAULT" />
            <type name="application/vnd.openxmlformats-officedocument.presentationml.presentation" />
            <type name="application/vnd.ms-powerpoint" />
            <type name="application/vnd.openxmlformats-officedocument.presentationml.template" />
            <type name="application/vnd.ms-powerpoint.presentation.macroenabled.12" />
            <type name="application/vnd.openxmlformats-officedocument.presentationml.slideshow" />
            <type name="application/vnd.ms-powerpoint.slideshow.macroenabled.12" />
            <type name="application/x-mspowerpoint" />

      </filter>
    </item>
    <item name="com.google.android.gm/com.google.android.gm.ComposeActivityGmailExternal">
        <filter>
            <action name="android.intent.action.VIEW" />
            <cat name="android.intent.category.DEFAULT" />
            <cat name="android.intent.category.BROWSABLE" />
            <scheme name="mailto" />
        </filter>
    </item>
    <item name="com.google.android.gm/com.google.android.gm.ComposeActivityGmailExternal">
        <filter>
            <action name="android.intent.action.SENDTO" />
            <cat name="android.intent.category.DEFAULT" />
            <cat name="android.intent.category.BROWSABLE" />
            <scheme name="mailto" />
        </filter>
    </item>
</preferred-activities>