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

Commit 69d50752 authored by Yu-Han Yang's avatar Yu-Han Yang Committed by android-build-merger
Browse files

Merge "Disable REQUEST_LOCATION from GNSS HAL by default" into pi-dev am: a364b311

am: e25d61f1

Change-Id: I9d43b4d26c98300ebdbf86a78eed0e22cae300d4
parents e87f1272 e25d61f1
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -253,8 +253,8 @@ public class GnssLocationProvider implements LocationProviderInterface, InjectNt

    // 1 second, or 1 Hz frequency.
    private static final long LOCATION_UPDATE_MIN_TIME_INTERVAL_MILLIS = 1000;
    // 30 seconds.
    private static final long LOCATION_UPDATE_DURATION_MILLIS = 30 * 1000;
    // Default update duration in milliseconds for REQUEST_LOCATION.
    private static final long LOCATION_UPDATE_DURATION_MILLIS = 0;

    /** simpler wrapper for ProviderRequest + Worksource */
    private static class GpsRequest {