Add support for TvInputManager.acquireTvInputHardware CTS
1. Add a test api in TvInputManager to add hardware device for testing 2. Add Shell permission for TV_INPUT_HARDWARE 3. Add TUNER_RESOURCE_ACCESS permission for TvInput Framework. Test: atest android.media.tv.cts Bug: 155114656 Change-Id: I227f13cbf14532d8732729412ae9c2518755ef02
This commit is contained in:
@@ -300,6 +300,9 @@
|
||||
<!-- Permissions needed to test shared libraries -->
|
||||
<uses-permission android:name="android.permission.ACCESS_SHARED_LIBRARIES" />
|
||||
|
||||
<!-- Permissions required for CTS test - TVInputManagerTest -->
|
||||
<uses-permission android:name="android.permission.TV_INPUT_HARDWARE" />
|
||||
|
||||
<application android:label="@string/app_label"
|
||||
android:theme="@android:style/Theme.DeviceDefault.DayNight"
|
||||
android:defaultToDeviceProtectedStorage="true"
|
||||
|
||||
Reference in New Issue
Block a user