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

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

Update SATELLITE_BLOCKLIST capability value

Make the capability value consistent with the framework so that it
doesn't need conversion.

Bug: 176854122
Test: on cuttlefish
Change-Id: I4f6c24a55dea59374791a7d5ad3c6ce657712422
parent faa5e104
Loading
Loading
Loading
Loading
+1 −1
Original line number Original line Diff line number Diff line
@@ -20,7 +20,7 @@ package android.hardware.gnss;
@VintfStability
@VintfStability
interface IGnssCallback {
interface IGnssCallback {
  void gnssSetCapabilitiesCb(in int capabilities);
  void gnssSetCapabilitiesCb(in int capabilities);
  const int CAPABILITY_SATELLITE_BLOCKLIST = 1;
  const int CAPABILITY_SATELLITE_BLOCKLIST = 512;
  const int CAPABILITY_CORRELATION_VECTOR = 4096;
  const int CAPABILITY_CORRELATION_VECTOR = 4096;
  const int CAPABILITY_SATELLITE_PVT = 8192;
  const int CAPABILITY_SATELLITE_PVT = 8192;
}
}
+2 −2
Original line number Original line Diff line number Diff line
@@ -28,7 +28,7 @@ import android.hardware.gnss.IGnssConfiguration;
interface IGnssCallback {
interface IGnssCallback {


    /** Capability bit mask indicating that GNSS supports blocklisting satellites */
    /** Capability bit mask indicating that GNSS supports blocklisting satellites */
    const int CAPABILITY_SATELLITE_BLOCKLIST = 1 << 0;
    const int CAPABILITY_SATELLITE_BLOCKLIST = 1 << 9;


    /** Capability bit mask indicating that GNSS supports correlation vector */
    /** Capability bit mask indicating that GNSS supports correlation vector */
    const int CAPABILITY_CORRELATION_VECTOR =  1 << 12;
    const int CAPABILITY_CORRELATION_VECTOR =  1 << 12;