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

Commit ab2628c2 authored by Mike Lockwood's avatar Mike Lockwood Committed by Android (Google) Code Review
Browse files

Merge "Remove the ProximityAlerts update Receiver when the last ProximityAlert...

Merge "Remove the ProximityAlerts update Receiver when the last ProximityAlert expires. Fixes issue 6900."
parents 51ced540 8fff6451
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -1205,8 +1205,9 @@ public class LocationManagerService extends ILocationManager.Stub implements Run
            // Remove expired alerts
            if (intentsToRemove != null) {
                for (PendingIntent i : intentsToRemove) {
                    ProximityAlert alert = mProximityAlerts.remove(i);
                    ProximityAlert alert = mProximityAlerts.get(i);
                    mProximitiesEntered.remove(alert);
                    removeProximityAlertLocked(i);
                }
            }
        }