Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 59960456 authored by David Zhao's avatar David Zhao
Browse files

Add constant for TvMessage no group ID

Bug: 271035920
Test: mmm
Change-Id: Ie800a2d8675bb01c7d44310785ee4aefdf218749
parent 6d065549
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -37,4 +37,5 @@ parcelable TvMessage {
  String subType;
  long groupId;
  int dataLengthBytes;
  const long NO_GROUP_ID = (-1) /* -1 */;
}
+4 −0
Original line number Diff line number Diff line
@@ -18,6 +18,10 @@ package android.hardware.tv.input;

@VintfStability
parcelable TvMessage {
    /**
     * This value for TvMessage.groupId denotes that the message doesn't belong to any group.
     */
    const long NO_GROUP_ID = -1;
    /**
     * Extended data type, like “ATSC A/336 Watermark”, “ATSC_CC”, etc. This is opaque
     * to the framework.