Merge branch 'readonly-p4-master'
This commit is contained in:
committed by
The Android Open Source Project
commit
9bb6ef5ad3
@@ -2059,6 +2059,8 @@ public class LocationManagerService extends ILocationManager.Stub
|
||||
private void updateWakelockStatusLocked(boolean screenOn) {
|
||||
log("updateWakelockStatus(): " + screenOn);
|
||||
|
||||
long callerId = Binder.clearCallingIdentity();
|
||||
|
||||
boolean needsLock = false;
|
||||
long minTime = Integer.MAX_VALUE;
|
||||
|
||||
@@ -2102,6 +2104,7 @@ public class LocationManagerService extends ILocationManager.Stub
|
||||
mLocationHandler.removeMessages(MESSAGE_RELEASE_WAKE_LOCK);
|
||||
releaseWakeLockLocked();
|
||||
}
|
||||
Binder.restoreCallingIdentity(callerId);
|
||||
}
|
||||
|
||||
private void acquireWakeLockLocked() {
|
||||
|
||||
Reference in New Issue
Block a user