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.tvleanback"
20    android:versionCode="1"
21    android:versionName="1.1" >
22
23    <uses-sdk
24        android:minSdkVersion="19"
25        android:targetSdkVersion="21" />
26
27    <uses-permission android:name="android.permission.INTERNET" />
28    <uses-permission android:name="android.permission.RECEIVE_BOOT_COMPLETED" />
29
30    <uses-feature
31        android:name="android.hardware.microphone"
32        android:required="false" />
33
34    <uses-feature
35        android:name="android.hardware.touchscreen"
36        android:required="false" />
37
38    <uses-feature android:name="android.software.leanback"
39        android:required="true" />
40
41    <application
42        android:allowBackup="false"
43        android:icon="@drawable/videos_by_google_banner"
44        android:label="@string/app_name"
45        android:logo="@drawable/videos_by_google_banner"
46        android:theme="@style/Theme.Example.Leanback" >
47        <activity
48            android:name=".ui.MainActivity"
49            android:icon="@drawable/videos_by_google_banner"
50            android:label="@string/app_name"
51            android:logo="@drawable/videos_by_google_banner"
52            android:screenOrientation="landscape" >
53            <intent-filter>
54                <action android:name="android.intent.action.MAIN" />
55
56                <category android:name="android.intent.category.LEANBACK_LAUNCHER" />
57            </intent-filter>
58
59        </activity>
60
61        <activity
62            android:name=".ui.MovieDetailsActivity"
63            android:exported="true">
64
65            <!-- Receives the search request. -->
66            <intent-filter>
67                <action android:name="android.intent.action.SEARCH" />
68                <!-- No category needed, because the Intent will specify this class component-->
69           </intent-filter>
70
71            <!-- Points to searchable meta data. -->
72            <meta-data android:name="android.app.searchable"
73                android:resource="@xml/searchable" />
74        </activity>
75
76        <activity android:name=".ui.PlaybackOverlayActivity"
77            android:exported="true" />
78
79        <activity
80            android:name=".ui.VerticalGridActivity"
81            android:exported="true"
82            android:parentActivityName=".ui.MainActivity" />
83        <activity
84            android:name=".ui.SearchActivity"
85            android:exported="true" />
86
87        <activity android:name=".ui.BrowseErrorActivity"
88            android:exported="true" />
89
90        <!-- Provides search suggestions for keywords against video meta data. -->
91        <provider android:name=".data.VideoContentProvider"
92            android:authorities="com.example.android.tvleanback"
93            android:exported="true" />
94
95        <provider
96            android:name=".recommendation.RecommendationBuilder$RecommendationBackgroundContentProvider"
97            android:authorities="com.example.android.tvleanback.recommendation"
98            android:exported="true" />
99
100        <receiver
101            android:name=".recommendation.BootupActivity"
102            android:enabled="true"
103            android:exported="false" >
104            <intent-filter>
105                <action android:name="android.intent.action.BOOT_COMPLETED" />
106            </intent-filter>
107        </receiver>
108
109        <service
110            android:name=".recommendation.UpdateRecommendationsService"
111            android:enabled="true" />
112    </application>
113
114</manifest>
115