aboutsummaryrefslogtreecommitdiff
path: root/apps/tv/SetupCustomizationSample/app/src/main/AndroidManifest.xml
blob: 30f0c86b8e5663b080cea4440afc2217483b06b8 (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
<?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
    package="com.google.android.tv.setup.customizationsample">

    <uses-feature
        android:name="android.hardware.touchscreen"
        android:required="false" />
    <uses-feature
        android:name="android.software.leanback"
        android:required="true" />

    <uses-permission android:name="com.android.setupwizard.permission.SETUP" />
    <uses-permission android:name="android.permission.REBOOT" />

    <application
        android:label="TV Setup Customization Sample"
        android:theme="@style/AppTheme">


        <!-- This Receiver marks this app as being eligible to provide resources which influence
        the behavior and look of TV Setup. -->
        <receiver android:name=".PartnerReceiver">
            <intent-filter>
                <action android:name="com.google.android.tvsetup.action.PARTNER_CUSTOMIZATION" />
                <category android:name="android.intent.category.DEFAULT" />
            </intent-filter>
        </receiver>


        <!-- HOOK Activity examples -->

        <activity
            android:name=".HookBeginActivity"
            android:label="Partner Hook: Begin (Priority 5)"
            android:screenOrientation="landscape">
            <intent-filter android:priority="5">
                <action android:name="com.android.setupwizard.action.HOOK_BEGIN" />
                <category android:name="android.intent.category.DEFAULT" />
            </intent-filter>
        </activity>


        <activity
            android:name=".HookBegin2Activity"
            android:label="Partner Hook: Begin (Priority 4)"
            android:screenOrientation="landscape">
            <intent-filter android:priority="4">
                <action android:name="com.android.setupwizard.action.HOOK_BEGIN" />
                <category android:name="android.intent.category.DEFAULT" />
            </intent-filter>
        </activity>


        <activity
            android:name=".HookPostNetworkActivity"
            android:screenOrientation="landscape"
            android:label="Partner Hook: Post-Network"
            >
            <intent-filter>
                <action android:name="com.android.setupwizard.action.HOOK_POST_NETWORK" />
                <category android:name="android.intent.category.DEFAULT" />
            </intent-filter>
        </activity>


        <activity
            android:name=".HookPostNetworkFollowupActivity"
            android:screenOrientation="landscape"
            android:label="Partner Hook: Post-Network Follow-up"
            android:exported="true"
            >
        </activity>


        <activity
            android:name=".HookEndActivity"
            android:screenOrientation="landscape"
            android:label="Partner Hook: End"
            >
            <intent-filter>
                <action android:name="com.android.setupwizard.action.HOOK_END" />
                <category android:name="android.intent.category.DEFAULT" />
            </intent-filter>
        </activity>

    </application>

</manifest>