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

Commit a364b311 authored by Yu-Han Yang's avatar Yu-Han Yang Committed by Android (Google) Code Review
Browse files

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

parents a0d475a4 639f759f
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 {