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

Commit a3c812ad 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

Change-Id: I16ce962a1e86f8ceb2ba9ae26cb9285113f650ca
parents b2d59842 a364b311
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 {