From de8d07de57aea33fee164fb503b9ff425054f488 Mon Sep 17 00:00:00 2001 From: "[1;3" Date: Fri, 21 Jan 2022 16:22:29 -0800 Subject: [PATCH] TIAF: add permission BIND_TV_INTERACTIVE_APP Similar to BIND_TV_INPUT, in the manifest declaration, specifying the BIND_TV_INTERACTIVE_APP permission to allow the service to connect the TV interactive app to the system. A system service performs the binding and has the BIND_TV_INTERACTIVE_APP permission. Link of BIND_TV_INPUT as a reference: https://developer.android.com/training/tv/tif/tvinput#manifest Bug: 215773542 Change-Id: Id185e0495420e67b2566a848dd81e0f72ad6d083 --- core/api/current.txt | 1 + core/res/AndroidManifest.xml | 7 +++++++ .../tv/interactive/TvInteractiveAppManagerService.java | 7 ++++++- 3 files changed, 14 insertions(+), 1 deletion(-) diff --git a/core/api/current.txt b/core/api/current.txt index 5a736d5ff9a51..d029745020a90 100644 --- a/core/api/current.txt +++ b/core/api/current.txt @@ -50,6 +50,7 @@ package android { field public static final String BIND_TELECOM_CONNECTION_SERVICE = "android.permission.BIND_TELECOM_CONNECTION_SERVICE"; field public static final String BIND_TEXT_SERVICE = "android.permission.BIND_TEXT_SERVICE"; field public static final String BIND_TV_INPUT = "android.permission.BIND_TV_INPUT"; + field public static final String BIND_TV_INTERACTIVE_APP = "android.permission.BIND_TV_INTERACTIVE_APP"; field public static final String BIND_VISUAL_VOICEMAIL_SERVICE = "android.permission.BIND_VISUAL_VOICEMAIL_SERVICE"; field public static final String BIND_VOICE_INTERACTION = "android.permission.BIND_VOICE_INTERACTION"; field public static final String BIND_VPN_SERVICE = "android.permission.BIND_VPN_SERVICE"; diff --git a/core/res/AndroidManifest.xml b/core/res/AndroidManifest.xml index 50e9f237c5895..e6d35132d8efb 100644 --- a/core/res/AndroidManifest.xml +++ b/core/res/AndroidManifest.xml @@ -4130,6 +4130,13 @@ + + +