summaryrefstree
path: root/system/etc/preferred-apps/preferred-app.xml
blob: e89c6ea2770c31ca9e1e87d39c671bc95f131b16 (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
<?xml version='1.0' encoding='utf-8' standalone='yes' ?>

<!--
    These are the default set of preferred applications for various standard
    web URIs of Google properties to built-in Google Android applications.

    To generate new entries, set whatever app you want to be the default as
    normal through the UI, and then use "adb shell dumpsys package preferred-xml"
    to get the XML structure for the current preferred apps.  You will probably
    want to clean up the output some, such as adding the BROWSABLE category.  See
    the other entries here for guides.
-->
 
<preferred-activities>
    <item name="com.google.android.apps.messaging/.ui.conversation.LaunchConversationActivity">
        <filter>
            <action name="android.intent.action.SENDTO" />
            <cat name="android.intent.category.DEFAULT" />
            <scheme name="sms" />
        </filter>
    </item>
    <item name="com.google.android.apps.messaging/.ui.conversation.LaunchConversationActivity">
        <filter>
            <action name="android.intent.action.SENDTO" />
            <cat name="android.intent.category.DEFAULT" />
            <scheme name="mmsto" />
        </filter>
    </item>
    <item name="com.google.android.apps.messaging/.ui.conversation.LaunchConversationActivity">
        <filter>
            <action name="android.intent.action.SENDTO" />
            <cat name="android.intent.category.DEFAULT" />
            <scheme name="smsto" />
        </filter>
    </item>
    <item name="com.google.android.music/.ui.playback.AudioPreviewActivity">
        <filter>
            <action name="android.intent.action.VIEW" />
            <cat name="android.intent.category.DEFAULT" />
            <type name="audio/*" />
            <scheme name="file" />
            <scheme name="content" />
        </filter>
    </item>
    <item name="com.google.android.gm/.ComposeActivityGmailExternal">
        <filter>
            <action name="android.intent.action.SENDTO" />
            <cat name="android.intent.category.DEFAULT" />
            <scheme name="mailto" />
        </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.messaging/.ui.conversation.LaunchConversationActivity">
        <filter>
            <action name="android.intent.action.SENDTO" />
            <cat name="android.intent.category.DEFAULT" />
            <scheme name="mms" />
        </filter>
    </item>
</preferred-activities>