1 <?xml version="1.0" encoding="utf-8"?> 2 <!-- 3 Copyright (C) 2014 The Android Open Source Project 4 5 Licensed under the Apache License, Version 2.0 (the "License"); 6 you may not use this file except in compliance with the License. 7 You may obtain a copy of the License at 8 9 http://www.apache.org/licenses/LICENSE-2.0 10 11 Unless required by applicable law or agreed to in writing, software 12 distributed under the License is distributed on an "AS IS" BASIS, 13 WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 14 See the License for the specific language governing permissions and 15 limitations under the License. 16 --> 17 18 <manifest xmlns:android="http://schemas.android.com/apk/res/android" 19 package="com.example.android.leanback" 20 android:versionCode="1" 21 android:versionName="1.0" > 22 23 <uses-sdk 24 android:minSdkVersion="19" 25 android:targetSdkVersion="19" /> 26 27 <uses-permission android:name="android.permission.INTERNET" /> 28 <uses-permission android:name="android.permission.RECEIVE_BOOT_COMPLETED" /> 29 <uses-permission android:name="android.permission.RECORD_AUDIO" /> 30 31 <uses-feature 32 android:name="android.hardware.touchscreen" 33 android:required="false" /> 34 35 <uses-feature android:name="android.software.leanback" 36 android:required="true" /> 37 38 <application 39 android:allowBackup="false" 40 android:icon="@drawable/videos_by_google_banner" 41 android:label="@string/app_name" 42 android:logo="@drawable/videos_by_google_banner" 43 android:theme="@style/Theme.Leanback" > 44 <activity 45 android:name="MainActivity" 46 android:icon="@drawable/videos_by_google_banner" 47 android:label="@string/app_name" 48 android:logo="@drawable/videos_by_google_banner" 49 android:screenOrientation="landscape" > 50 <intent-filter> 51 <action android:name="android.intent.action.MAIN" /> 52 53 <category android:name="android.intent.category.LEANBACK_LAUNCHER" /> 54 </intent-filter> 55 </activity> 56 <activity 57 android:name="DetailsActivity" 58 android:exported="true" /> 59 <activity 60 android:name="PlayerActivity" 61 android:exported="true" 62 android:theme="@android:style/Theme.NoTitleBar.Fullscreen" /> 63 <activity 64 android:name="VerticalGridActivity" 65 android:exported="true" 66 android:parentActivityName="MainActivity" /> 67 <activity 68 android:name="SearchActivity" 69 android:exported="true" /> 70 71 <receiver 72 android:name=".BootupActivity" 73 android:enabled="true" 74 android:exported="false" > 75 <intent-filter> 76 <action android:name="android.intent.action.BOOT_COMPLETED" /> 77 </intent-filter> 78 </receiver> 79 80 <service 81 android:name=".UpdateRecommendationsService" 82 android:enabled="true" /> 83 </application> 84 85 </manifest> 86