Home | History | Annotate | Download | only in main
      1 <?xml version="1.0" encoding="utf-8"?>
      2 <manifest xmlns:android="http://schemas.android.com/apk/res/android"
      3     package="com.google.android.tv.setup.customizationsample">
      4 
      5     <uses-feature
      6         android:name="android.hardware.touchscreen"
      7         android:required="false" />
      8     <uses-feature
      9         android:name="android.software.leanback"
     10         android:required="true" />
     11 
     12     <uses-permission android:name="com.android.setupwizard.permission.SETUP" />
     13     <uses-permission android:name="android.permission.REBOOT" />
     14 
     15     <application
     16         android:label="TV Setup Customization Sample"
     17         android:theme="@style/AppTheme">
     18 
     19 
     20         <!-- This Receiver marks this app as being eligible to provide resources which influence
     21         the behavior and look of TV Setup. -->
     22         <receiver android:name=".PartnerReceiver">
     23             <intent-filter>
     24                 <action android:name="com.google.android.tvsetup.action.PARTNER_CUSTOMIZATION" />
     25                 <category android:name="android.intent.category.DEFAULT" />
     26             </intent-filter>
     27         </receiver>
     28 
     29 
     30         <!-- HOOK Activity examples -->
     31 
     32         <activity
     33             android:name=".HookBeginActivity"
     34             android:label="Partner Hook: Begin (Priority 5)"
     35             android:screenOrientation="landscape">
     36             <intent-filter android:priority="5">
     37                 <action android:name="com.android.setupwizard.action.HOOK_BEGIN" />
     38                 <category android:name="android.intent.category.DEFAULT" />
     39             </intent-filter>
     40         </activity>
     41 
     42 
     43         <activity
     44             android:name=".HookBegin2Activity"
     45             android:label="Partner Hook: Begin (Priority 4)"
     46             android:screenOrientation="landscape">
     47             <intent-filter android:priority="4">
     48                 <action android:name="com.android.setupwizard.action.HOOK_BEGIN" />
     49                 <category android:name="android.intent.category.DEFAULT" />
     50             </intent-filter>
     51         </activity>
     52 
     53 
     54         <activity
     55             android:name=".HookPostNetworkActivity"
     56             android:screenOrientation="landscape"
     57             android:label="Partner Hook: Post-Network"
     58             >
     59             <intent-filter>
     60                 <action android:name="com.android.setupwizard.action.HOOK_POST_NETWORK" />
     61                 <category android:name="android.intent.category.DEFAULT" />
     62             </intent-filter>
     63         </activity>
     64 
     65 
     66         <activity
     67             android:name=".HookPostNetworkFollowupActivity"
     68             android:screenOrientation="landscape"
     69             android:label="Partner Hook: Post-Network Follow-up"
     70             android:exported="true"
     71             >
     72         </activity>
     73 
     74 
     75         <activity
     76             android:name=".HookEndActivity"
     77             android:screenOrientation="landscape"
     78             android:label="Partner Hook: End"
     79             >
     80             <intent-filter>
     81                 <action android:name="com.android.setupwizard.action.HOOK_END" />
     82                 <category android:name="android.intent.category.DEFAULT" />
     83             </intent-filter>
     84         </activity>
     85 
     86 
     87         <!-- Implements the delegate-network-to-partner action. -->
     88         <activity
     89             android:name=".NetworkDelegationActivity"
     90             android:screenOrientation="landscape"
     91             android:label="Network Delegation"
     92             >
     93             <intent-filter>
     94                 <action android:name="com.android.net.GET_CONNECTED" />
     95                 <category android:name="android.intent.category.DEFAULT" />
     96             </intent-filter>
     97         </activity>
     98 
     99 
    100     </application>
    101 
    102 </manifest>
    103