1<?xml version="1.0" encoding="utf-8"?>
2<!--
3     Copyright (C) 2015 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    xmlns:tools="http://schemas.android.com/tools"
20    package="android.leanbackjank.app"
21    android:versionCode="1"
22    android:versionName="1.1" >
23
24    <uses-sdk
25        android:minSdkVersion="21"
26        android:targetSdkVersion="23" />
27
28    <uses-permission android:name="android.permission.INTERNET" />
29    <uses-permission android:name="android.permission.RECEIVE_BOOT_COMPLETED" />
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.Example.Leanback"
44        tools:replace="android:appComponentFactory"
45        android:appComponentFactory="android.support.v4.app.CoreComponentFactory" >
46        <uses-library android:name="android.test.runner" />
47
48        <activity
49            android:name=".ui.MainActivity"
50            android:icon="@drawable/videos_by_google_banner"
51            android:label="@string/app_name"
52            android:logo="@drawable/videos_by_google_banner"
53            android:screenOrientation="landscape" >
54            <intent-filter>
55                <action android:name="android.intent.action.MAIN" />
56                <category android:name="android.intent.category.LEANBACK_LAUNCHER" />
57            </intent-filter>
58        </activity>
59    </application>
60</manifest>
61