diff --git a/media/java/android/media/tv/SignalingDataResponse.java b/media/java/android/media/tv/SignalingDataResponse.java index be172ec62773100135d681cb5c64a3a322704d0d..51fa6a23bdf67bfeb41a02d130deec45093909cb 100644 --- a/media/java/android/media/tv/SignalingDataResponse.java +++ b/media/java/android/media/tv/SignalingDataResponse.java @@ -73,6 +73,10 @@ public final class SignalingDataResponse extends BroadcastInfoResponse implement /** * Gets a list of types of metadata that are contained in this response. * + * <p> This list correlates to all the available types that can be found within + * {@link #getSignalingDataInfoList()}. This list is determined by the types specified in + * {@link SignalingDataRequest#getSignalingDataTypes()}. + * * <p> A list of types available are defined in {@link SignalingDataRequest}. * For more information about these types, see A/344:2023-5 9.2.10 - Query Signaling Data API. * diff --git a/media/java/android/media/tv/interactive/TvInteractiveAppService.java b/media/java/android/media/tv/interactive/TvInteractiveAppService.java index f332f81020134e3f03572a8373e7cbfeca1f0a40..84d08db1b9c8ded5a3d689c8eabcf5f5994b61f8 100755 --- a/media/java/android/media/tv/interactive/TvInteractiveAppService.java +++ b/media/java/android/media/tv/interactive/TvInteractiveAppService.java @@ -964,7 +964,11 @@ public abstract class TvInteractiveAppService extends Service { /** * Called when the TV App sends the selected track info as a response to - * {@link #requestSelectedTrackInfo()} + * {@link #requestSelectedTrackInfo()}. + * + * <p> When a selected track changes as a result of a new selection, + * {@link #onTrackSelected(int, String)} should be used instead to communicate the specific + * track selection. * * @param tracks A list of {@link TvTrackInfo} that are currently selected */ @@ -1383,6 +1387,8 @@ public abstract class TvInteractiveAppService extends Service { * <p> Normally, track info cannot be synchronized until the channel has * been changed. This is used when the session of the {@link TvInteractiveAppService} * is newly created and the normal synchronization has not happened yet. + * + * <p> The track info will be returned in {@link #onSelectedTrackInfo(List)} */ @FlaggedApi(Flags.FLAG_TIAF_V_APIS) @CallSuper diff --git a/media/java/android/media/tv/interactive/TvInteractiveAppView.java b/media/java/android/media/tv/interactive/TvInteractiveAppView.java index 29a3b98073fe3ed54e7ced5387e36ece21c8543e..635572d12cc5d9b741e758f60b7d5e539f6188b6 100755 --- a/media/java/android/media/tv/interactive/TvInteractiveAppView.java +++ b/media/java/android/media/tv/interactive/TvInteractiveAppView.java @@ -585,7 +585,8 @@ public class TvInteractiveAppView extends ViewGroup { } /** - * Sends the currently selected track info to the TV Interactive App. + * Sends the currently selected track info to the TV Interactive App in response to a + * {@link TvInteractiveAppCallback#onRequestSelectedTrackInfo(String)} request. * * @param tracks list of {@link TvTrackInfo} of the currently selected track(s) */