90 lines
3.3 KiB
XML
90 lines
3.3 KiB
XML
<?xml version="1.0" encoding="UTF-8"?>
|
|
<!--
|
|
Copyright 2017 The Android Open Source Project
|
|
|
|
Licensed under the Apache License, Version 2.0 (the "License");
|
|
you may not use this file except in compliance with the License.
|
|
You may obtain a copy of the License at
|
|
|
|
http://www.apache.org/licenses/LICENSE-2.0
|
|
|
|
Unless required by applicable law or agreed to in writing, software
|
|
distributed under the License is distributed on an "AS IS" BASIS,
|
|
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
See the License for the specific language governing permissions and
|
|
limitations under the License.
|
|
-->
|
|
|
|
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
|
|
package="com.example.android.tv.channelsprograms"
|
|
android:versionCode="1"
|
|
android:versionName="1.0">
|
|
|
|
|
|
<uses-permission android:name="android.permission.INTERNET" />
|
|
<uses-permission android:name="android.permission.RECORD_AUDIO" />
|
|
<uses-permission android:name="com.android.providers.tv.permission.READ_EPG_DATA" />
|
|
<uses-permission android:name="com.android.providers.tv.permission.WRITE_EPG_DATA" />
|
|
|
|
<uses-feature
|
|
android:name="android.hardware.touchscreen"
|
|
android:required="false" />
|
|
<uses-feature
|
|
android:name="android.software.leanback"
|
|
android:required="true" />
|
|
<uses-feature
|
|
android:name="android.hardware.microphone"
|
|
android:required="false" />
|
|
|
|
<application android:allowBackup="true"
|
|
android:label="@string/app_name"
|
|
android:icon="@mipmap/ic_launcher"
|
|
android:supportsRtl="true"
|
|
android:theme="@style/Theme.Leanback">
|
|
|
|
<activity
|
|
android:name=".MainActivity"
|
|
android:banner="@drawable/app_icon_your_company"
|
|
android:icon="@drawable/app_icon_your_company"
|
|
android:label="@string/app_name"
|
|
android:logo="@drawable/app_icon_your_company"
|
|
android:screenOrientation="landscape">
|
|
<intent-filter>
|
|
<action android:name="android.intent.action.MAIN" />
|
|
|
|
<category android:name="android.intent.category.LEANBACK_LAUNCHER" />
|
|
</intent-filter>
|
|
</activity>
|
|
|
|
<activity android:name=".AppLinkActivity">
|
|
<intent-filter>
|
|
<action android:name="android.intent.action.VIEW" />
|
|
<category android:name="android.intent.category.DEFAULT" />
|
|
<data
|
|
android:host="app"
|
|
android:scheme="tvrecommendation" />
|
|
</intent-filter>
|
|
</activity>
|
|
<activity android:name=".playback.PlaybackActivity" />
|
|
|
|
<receiver android:name=".InitializeChannelsReceiver">
|
|
<intent-filter>
|
|
<action android:name="android.media.tv.action.INITIALIZE_PROGRAMS" />
|
|
<category android:name="android.intent.category.DEFAULT" />
|
|
</intent-filter>
|
|
</receiver>
|
|
|
|
<service
|
|
android:name=".SyncChannelJobService"
|
|
android:exported="false"
|
|
android:permission="android.permission.BIND_JOB_SERVICE" />
|
|
|
|
<service
|
|
android:name=".SyncProgramsJobService"
|
|
android:exported="false"
|
|
android:permission="android.permission.BIND_JOB_SERVICE" />
|
|
|
|
</application>
|
|
|
|
</manifest>
|