1<?xml version="1.0" encoding="utf-8"?> 2<!-- 3 ~ Copyright (C) 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 xmlns:tools="http://schemas.android.com/tools" 20 package="com.example.partnersupportsampletvinput"> 21 22 <uses-permission android:name="android.permission.ACCESS_NETWORK_STATE"/> 23 <uses-permission android:name="android.permission.INTERNET"/> 24 <uses-permission android:name="android.permission.READ_EXTERNAL_STORAGE" /> 25 <uses-permission android:name="android.permission.RECEIVE_BOOT_COMPLETED" /> 26 <!-- TODO: READ_EPG_DATA and WRITE_EPG_DATA need to be removed, once we fully 27 migrate all test environment from LMP to MNC, because the permissions 28 are not required from MNC. --> 29 <uses-permission android:name="com.android.providers.tv.permission.READ_EPG_DATA" /> 30 <uses-permission android:name="com.android.providers.tv.permission.WRITE_EPG_DATA" /> 31 <uses-permission android:name="com.android.tv.permission.RECEIVE_INPUT_EVENT" /> 32 <uses-sdk android:targetSdkVersion="27" android:minSdkVersion="23"/> 33 <!--TODO(b/68949299): remove tool hint when we have smaller dependency targets--> 34 <application android:label="@string/partner_support_sample_tv_input" 35 tools:replace="android:label,icon,theme,appComponentFactory" 36 android:icon="@mipmap/ic_launcher" 37 android:theme="@android:style/Theme.Holo.Light.NoActionBar" 38 android:appComponentFactory="android.support.v4.app.CoreComponentFactory" > 39 <activity android:name=".SampleTvInputSetupActivity" 40 android:theme="@style/Theme.Leanback.GuidedStep"> 41 <intent-filter> 42 <action android:name="android.intent.action.MAIN" /> 43 </intent-filter> 44 </activity> 45 <service android:name=".SampleTvInputService" 46 android:permission="android.permission.BIND_TV_INPUT" 47 android:label="@string/partner_support_sample_tv_input" 48 android:process="com.example.partnersupportsampletvinput"> 49 <intent-filter> 50 <action android:name="android.media.tv.TvInputService" /> 51 </intent-filter> 52 <meta-data android:name="android.media.tv.input" 53 android:resource="@xml/sampletvinputservice" /> 54 </service> 55 </application> 56</manifest> 57