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

Commit 3a0f1998 authored by Jae Seo's avatar Jae Seo
Browse files

Add channel types for NTSC, PAL and SECAM

Bug: 14451655, Bug: 15321686
Change-Id: I2618fb79a4b20898c95cea22154379738710da44
parent f980c53f
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
@@ -15825,8 +15825,11 @@ package android.media.tv {
    field public static final int TYPE_ISDB_S = 262656; // 0x40200
    field public static final int TYPE_ISDB_T = 262144; // 0x40000
    field public static final int TYPE_ISDB_TB = 262400; // 0x40100
    field public static final int TYPE_NTSC = 1; // 0x1
    field public static final int TYPE_OTHER = 0; // 0x0
    field public static final int TYPE_PAL = 2; // 0x2
    field public static final int TYPE_PASSTHROUGH = 65536; // 0x10000
    field public static final int TYPE_SECAM = 3; // 0x3
    field public static final int TYPE_S_DMB = 393472; // 0x60100
    field public static final int TYPE_T_DMB = 393216; // 0x60000
  }
+9 −0
Original line number Diff line number Diff line
@@ -272,6 +272,15 @@ public final class TvContract {
        /** A generic channel type. */
        public static final int TYPE_OTHER = 0x0;

        /** The channel type for NTSC. */
        public static final int TYPE_NTSC = 0x1;

        /** The channel type for PAL. */
        public static final int TYPE_PAL = 0x2;

        /** The channel type for SECAM. */
        public static final int TYPE_SECAM = 0x3;

        /** The special channel type used for pass-through inputs such as HDMI. */
        public static final int TYPE_PASSTHROUGH = 0x00010000;