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
This commit is contained in:
@@ -1586,6 +1586,7 @@ public class LocationManagerService extends ILocationManager.Stub {
|
|||||||
}
|
}
|
||||||
|
|
||||||
record.mRequest = locationRequest;
|
record.mRequest = locationRequest;
|
||||||
|
record.mReceiver.updateMonitoring(true);
|
||||||
requests.add(locationRequest);
|
requests.add(locationRequest);
|
||||||
if (!locationRequest.isLowPowerMode()) {
|
if (!locationRequest.isLowPowerMode()) {
|
||||||
providerRequest.setLowPowerMode(false);
|
providerRequest.setLowPowerMode(false);
|
||||||
|
|||||||
Reference in New Issue
Block a user