1<?xml version="1.0" encoding="UTF-8"?>
2<!--
3 Copyright 2017 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.tv.channelsprograms"
20    android:versionCode="1"
21    android:versionName="1.0">
22
23
24    <uses-permission android:name="android.permission.INTERNET" />
25    <uses-permission android:name="android.permission.RECORD_AUDIO" />
26    <uses-permission android:name="com.android.providers.tv.permission.READ_EPG_DATA" />
27    <uses-permission android:name="com.android.providers.tv.permission.WRITE_EPG_DATA" />
28
29    <uses-feature
30        android:name="android.hardware.touchscreen"
31        android:required="false" />
32    <uses-feature
33        android:name="android.software.leanback"
34        android:required="true" />
35    <uses-feature
36        android:name="android.hardware.microphone"
37        android:required="false" />
38
39    <application android:allowBackup="true"
40        android:label="@string/app_name"
41        android:icon="@mipmap/ic_launcher"
42        android:supportsRtl="true"
43        android:theme="@style/Theme.Leanback">
44
45        <activity
46            android:name=".MainActivity"
47            android:banner="@drawable/app_icon_your_company"
48            android:icon="@drawable/app_icon_your_company"
49            android:label="@string/app_name"
50            android:logo="@drawable/app_icon_your_company"
51            android:screenOrientation="landscape">
52            <intent-filter>
53                <action android:name="android.intent.action.MAIN" />
54
55                <category android:name="android.intent.category.LEANBACK_LAUNCHER" />
56            </intent-filter>
57        </activity>
58
59        <activity android:name=".AppLinkActivity">
60            <intent-filter>
61                <action android:name="android.intent.action.VIEW" />
62                <category android:name="android.intent.category.DEFAULT" />
63                <data
64                    android:host="app"
65                    android:scheme="tvrecommendation" />
66            </intent-filter>
67        </activity>
68        <activity android:name=".playback.PlaybackActivity" />
69
70        <receiver android:name=".InitializeChannelsReceiver">
71            <intent-filter>
72                <action android:name="android.media.tv.action.INITIALIZE_PROGRAMS" />
73                <category android:name="android.intent.category.DEFAULT" />
74            </intent-filter>
75        </receiver>
76
77        <service
78            android:name=".SyncChannelJobService"
79            android:exported="false"
80            android:permission="android.permission.BIND_JOB_SERVICE" />
81
82        <service
83            android:name=".SyncProgramsJobService"
84            android:exported="false"
85            android:permission="android.permission.BIND_JOB_SERVICE" />
86
87    </application>
88
89</manifest>
90