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

Commit e085352b authored by Soonil Nagarkar's avatar Soonil Nagarkar
Browse files

DO NOT MERGE: Update location icon on changes

Ensure that appops monitoring is updated whenever the high power state
of a locaiton request could possibly have changed.

Bug: 161941573
Test: manual + presubmit
Change-Id: I5d30d2ca109d6808511b68a56f790ef0826ef562
parent 70c29747
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -1586,6 +1586,7 @@ public class LocationManagerService extends ILocationManager.Stub {
                }

                record.mRequest = locationRequest;
                record.mReceiver.updateMonitoring(true);
                requests.add(locationRequest);
                if (!locationRequest.isLowPowerMode()) {
                    providerRequest.setLowPowerMode(false);