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

Commit e5a4bdf8 authored by TreeHugger Robot's avatar TreeHugger Robot Committed by Android (Google) Code Review
Browse files

Merge "Fix for incorrect proximity alert interval setting"

parents 38a3f5e2 ff2f40fc
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -145,7 +145,8 @@ public class GeofenceManager implements LocationListener, PendingIntent.OnFinish
     */
    private void updateMinInterval() {
        mEffectiveMinIntervalMs = Settings.Global.getLong(mResolver,
                Settings.Global.LOCATION_BACKGROUND_THROTTLE_INTERVAL_MS, DEFAULT_MIN_INTERVAL_MS);
                Settings.Global.LOCATION_BACKGROUND_THROTTLE_PROXIMITY_ALERT_INTERVAL_MS,
                DEFAULT_MIN_INTERVAL_MS);
    }

    public void addFence(LocationRequest request, Geofence geofence, PendingIntent intent,