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

Commit 7544c482 authored by Victoria Lease's avatar Victoria Lease Committed by Android (Google) Code Review
Browse files

Merge "Notify provider when disposing last UpdateRecord"

parents e0f1a099 8b38b29b
Loading
Loading
Loading
Loading
+4 −0
Original line number Diff line number Diff line
@@ -1711,6 +1711,10 @@ public class LocationManagerService extends ILocationManager.Stub implements Run
                r.disposeLocked(true);
            }
        }
        // let the provider know if we just disposed its last update record
        if (records.size() == 0) {
            applyRequirementsLocked(provider);
        }
    }

    private class LocationWorkerHandler extends Handler {