Merge "TIAF: add missed type TableRequest in base class parcel creator"

This commit is contained in:
Yixiao Luo
2022-02-04 22:58:38 +00:00
committed by Android (Google) Code Review
2 changed files with 4 additions and 0 deletions

View File

@@ -56,6 +56,8 @@ public abstract class BroadcastInfoRequest implements Parcelable {
switch (type) {
case TvInputManager.BROADCAST_INFO_TYPE_TS:
return TsRequest.createFromParcelBody(source);
case TvInputManager.BROADCAST_INFO_TYPE_TABLE:
return TableRequest.createFromParcelBody(source);
case TvInputManager.BROADCAST_INFO_TYPE_SECTION:
return SectionRequest.createFromParcelBody(source);
case TvInputManager.BROADCAST_INFO_TYPE_PES:

View File

@@ -57,6 +57,8 @@ public abstract class BroadcastInfoResponse implements Parcelable {
switch (type) {
case TvInputManager.BROADCAST_INFO_TYPE_TS:
return TsResponse.createFromParcelBody(source);
case TvInputManager.BROADCAST_INFO_TYPE_TABLE:
return TableResponse.createFromParcelBody(source);
case TvInputManager.BROADCAST_INFO_TYPE_SECTION:
return SectionResponse.createFromParcelBody(source);
case TvInputManager.BROADCAST_INFO_TYPE_PES: