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

Commit 6b49665d authored by Yu-Han Yang's avatar Yu-Han Yang
Browse files

Add CONSTELLATION_IRNSS constant in GnssStatus

Bug: 119270132
Test: builds and existing tests passed.
Change-Id: Ida9c33ddf87d799ff6e46dab7312d4e3dfc66d33
parent 3d3b861a
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -22810,6 +22810,7 @@ package android.location {
    field public static final int CONSTELLATION_GALILEO = 6; // 0x6
    field public static final int CONSTELLATION_GLONASS = 3; // 0x3
    field public static final int CONSTELLATION_GPS = 1; // 0x1
    field public static final int CONSTELLATION_IRNSS = 7; // 0x7
    field public static final int CONSTELLATION_QZSS = 4; // 0x4
    field public static final int CONSTELLATION_SBAS = 2; // 0x2
    field public static final int CONSTELLATION_UNKNOWN = 0; // 0x0
+3 −1
Original line number Diff line number Diff line
@@ -42,6 +42,8 @@ public final class GnssStatus {
    public static final int CONSTELLATION_BEIDOU = 5;
    /** Constellation type constant for Galileo. */
    public static final int CONSTELLATION_GALILEO = 6;
    /** Constellation type constant for IRNSS. */
    public static final int CONSTELLATION_IRNSS = 7;

    /** @hide */
    public static final int GNSS_SV_FLAGS_NONE = 0;
@@ -94,7 +96,7 @@ public final class GnssStatus {
     */
    @Retention(RetentionPolicy.SOURCE)
    @IntDef({CONSTELLATION_UNKNOWN, CONSTELLATION_GPS, CONSTELLATION_SBAS, CONSTELLATION_GLONASS,
            CONSTELLATION_QZSS, CONSTELLATION_BEIDOU, CONSTELLATION_GALILEO})
            CONSTELLATION_QZSS, CONSTELLATION_BEIDOU, CONSTELLATION_GALILEO, CONSTELLATION_IRNSS})
    public @interface ConstellationType {}

    final int[] mSvidWithFlags;