aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHongguang Chen <hgchen@google.com>2021-03-18 15:11:13 -0700
committerHongguang Chen <hgchen@google.com>2021-03-18 22:25:51 +0000
commite5e1ccff5da101516362acef32d1ef703dfc7599 (patch)
treeaa0f97c252acb17bcef532aea00e7930e27edfe6
parentf0a071b1b4613007e530dd61c4011b02721be154 (diff)
downloadTV-e5e1ccff5da101516362acef32d1ef703dfc7599.tar.gz
Allow to start background Activity.
This is to allow start SelectInputActivity by Global key. Bug: 183140817 Test: manual Change-Id: I39965f2947638249699d2f6a94e23ea682a78acd
-rw-r--r--AndroidManifest.xml1
-rw-r--r--com.android.tv.xml1
2 files changed, 2 insertions, 0 deletions
diff --git a/AndroidManifest.xml b/AndroidManifest.xml
index 38d24747..88f4e33a 100644
--- a/AndroidManifest.xml
+++ b/AndroidManifest.xml
@@ -34,6 +34,7 @@
<uses-permission android:name="android.permission.READ_EXTERNAL_STORAGE"/>
<uses-permission android:name="android.permission.READ_TV_LISTINGS"/>
<uses-permission android:name="android.permission.RECEIVE_BOOT_COMPLETED"/>
+ <uses-permission android:name="android.permission.START_ACTIVITIES_FROM_BACKGROUND"/>
<uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE"/>
<uses-permission android:name="com.android.providers.tv.permission.READ_EPG_DATA"/>
<uses-permission android:name="com.android.providers.tv.permission.WRITE_EPG_DATA"/>
diff --git a/com.android.tv.xml b/com.android.tv.xml
index 1379a010..5ac6c0c3 100644
--- a/com.android.tv.xml
+++ b/com.android.tv.xml
@@ -9,6 +9,7 @@
<permission name="android.permission.HDMI_CEC"/>
<permission name="android.permission.MODIFY_PARENTAL_CONTROLS"/>
<permission name="android.permission.READ_CONTENT_RATING_SYSTEMS"/>
+ <permission name="android.permission.START_ACTIVITIES_FROM_BACKGROUND"/>
<permission name="com.android.providers.tv.permission.ACCESS_ALL_EPG_DATA"/>
<permission name="com.android.providers.tv.permission.ACCESS_WATCHED_PROGRAMS"/>
</privapp-permissions>