1<?xml version="1.0" encoding="utf-8"?> 2<!-- 3 ~ Copyright (C) 2022 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<manifest xmlns:android="http://schemas.android.com/apk/res/android" 18 xmlns:tools="http://schemas.android.com/tools" 19 package="com.android.tv.samples.sampletvinteractiveappservice" 20 tools:ignore="MissingLeanbackLauncher"> 21 22 <uses-permission android:name="com.google.android.dtvprovider.permission.READ" /> 23 <uses-permission android:name="android.permission.INTERNET" /> 24 <uses-permission android:name="android.permission.START_ACTIVITIES_FROM_BACKGROUND"/> 25 26 <uses-feature android:name="android.hardware.touchscreen" android:required="false" /> 27 <uses-feature android:name="android.software.leanback" android:required="false" /> 28 29 <application 30 android:allowBackup="true" 31 android:icon="@mipmap/ic_launcher" 32 android:label="@string/sample_tias" 33 android:supportsRtl="true" 34 android:theme="@style/Theme.Leanback"> 35 <service 36 android:name=".SampleTvInteractiveAppService" 37 android:enabled="true" 38 android:exported="true" 39 android:isolatedProcess="false" 40 android:permission="android.permission.BIND_TV_INTERACTIVE_APP" 41 android:process=":rte"> 42 <intent-filter> 43 <action android:name="android.media.tv.interactive.TvInteractiveAppService" /> 44 </intent-filter> 45 <meta-data 46 android:name="android.media.tv.interactive.app" 47 android:resource="@xml/tviappservice" /> 48 </service> 49 </application> 50 51</manifest> 52