TIAF: Add attr for TV interactive app service

supportedTypes is a string array that shows the supported interactive
app type.

Bug: 204949944
Test: mmm
Change-Id: Id24902d2596117fcc8729d89fa6df3cef5c2903c
This commit is contained in:
shubang
2021-11-02 21:56:09 -07:00
parent b3546c6406
commit a54cbccd3b
3 changed files with 14 additions and 0 deletions

View File

@@ -1409,6 +1409,7 @@ package android {
field public static final int summaryColumn = 16843426; // 0x10102a2
field public static final int summaryOff = 16843248; // 0x10101f0
field public static final int summaryOn = 16843247; // 0x10101ef
field public static final int supportedTypes;
field public static final int supportsAssist = 16844016; // 0x10104f0
field public static final int supportsInlineSuggestions = 16844301; // 0x101060d
field public static final int supportsLaunchVoiceAssistFromKeyguard = 16844017; // 0x10104f1

View File

@@ -9316,6 +9316,18 @@
<attr name="canPauseRecording" format="boolean" />
</declare-styleable>
<!-- Use <code>tv-iapp</code> as the root tag of the XML resource that describes a
{@link android.media.tv.interactive.TvIAppService}, which is referenced from its
{@link android.media.tv.interactive.TvIAppService#SERVICE_META_DATA} meta-data entry.
Described here are the attributes that can be included in that tag. -->
<declare-styleable name="TvIAppService">
<!-- The interactive app types that the TV interactive app service supports.
Reference to a string array resource that describes the supported types,
e.g. HbbTv, Ginga. -->
<attr name="supportedTypes" format="reference" />
</declare-styleable>
<!-- Attributes that can be used with <code>rating-system-definition</code> tags inside of the
XML resource that describes TV content rating of a {@link android.media.tv.TvInputService},
which is referenced from its

View File

@@ -3304,6 +3304,7 @@
<public name="requiredSplitTypes" />
<public name="splitTypes" />
<public name="canDisplayOnRemoteDevices" />
<public name="supportedTypes" />
</staging-public-group>
<staging-public-group type="id" first-id="0x01de0000">