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

Commit 1f823962 authored by Mohammed Khider's avatar Mohammed Khider Committed by Android (Google) Code Review
Browse files

Merge "Duty Cycling and Low Power Mode GNSS feature implementations"

parents 83297f29 48f1a647
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -20994,6 +20994,7 @@ package android.location {
    method public void onGnssMeasurementsReceived(android.location.GnssMeasurementsEvent);
    method public void onStatusChanged(int);
    field public static final int STATUS_LOCATION_DISABLED = 2; // 0x2
    field public static final int STATUS_NOT_ALLOWED = 3; // 0x3
    field public static final int STATUS_NOT_SUPPORTED = 0; // 0x0
    field public static final int STATUS_READY = 1; // 0x1
  }
+2 −0
Original line number Diff line number Diff line
@@ -2106,11 +2106,13 @@ package android.location {
    method public int getQuality();
    method public float getSmallestDisplacement();
    method public android.os.WorkSource getWorkSource();
    method public boolean isLowPowerMode();
    method public android.location.LocationRequest setExpireAt(long);
    method public android.location.LocationRequest setExpireIn(long);
    method public android.location.LocationRequest setFastestInterval(long);
    method public void setHideFromAppOps(boolean);
    method public android.location.LocationRequest setInterval(long);
    method public android.location.LocationRequest setLowPowerMode(boolean);
    method public android.location.LocationRequest setNumUpdates(int);
    method public android.location.LocationRequest setProvider(java.lang.String);
    method public android.location.LocationRequest setQuality(int);
+9 −0
Original line number Diff line number Diff line
@@ -11143,6 +11143,15 @@ public final class Settings {
         */
        public static final String NOTIFICATION_SNOOZE_OPTIONS =
                "notification_snooze_options";

        /**
         * Enable GNSS Raw Measurements Full Tracking?
         * 0 = no
         * 1 = yes
         * @hide
         */
        public static final String ENABLE_GNSS_RAW_MEAS_FULL_TRACKING =
                "enable_gnss_raw_meas_full_tracking";
    }

    /**
+2 −1
Original line number Diff line number Diff line
@@ -387,8 +387,9 @@ message GlobalSettingsProto {
    optional SettingProto enable_cache_quota_calculation = 339;
    optional SettingProto enable_deletion_helper_no_threshold_toggle = 340;
    optional SettingProto notification_snooze_options = 341;
    optional SettingProto enable_gnss_raw_meas_full_tracking = 346;

    // Next tag = 346;
    // Next tag = 347;
}

message SecureSettingsProto {
+1 −0
Original line number Diff line number Diff line
@@ -367,6 +367,7 @@ public class SettingsBackupTest {
                    Settings.Global.ENABLE_GPU_DEBUG_LAYERS,
                    Settings.Global.GPU_DEBUG_APP,
                    Settings.Global.GPU_DEBUG_LAYERS,
                    Settings.Global.ENABLE_GNSS_RAW_MEAS_FULL_TRACKING,
                    Settings.Global.NETWORK_ACCESS_TIMEOUT_MS,
                    Settings.Global.WARNING_TEMPERATURE,
                    Settings.Global.WEBVIEW_DATA_REDUCTION_PROXY_KEY,
Loading