am 6abf7c8f
: Merge change Iad66a274 into eclair
Merge commit '6abf7c8fccf1430bf5d730592b79d77fbeccfe5b' into eclair-mr2 * commit '6abf7c8fccf1430bf5d730592b79d77fbeccfe5b': Fix race condition in WindowManagerService.disableKeyguard()
This commit is contained in:
@ -3971,7 +3971,9 @@ public class WindowManagerService extends IWindowManager.Stub
|
||||
!= PackageManager.PERMISSION_GRANTED) {
|
||||
throw new SecurityException("Requires DISABLE_KEYGUARD permission");
|
||||
}
|
||||
mKeyguardDisabled.acquire(token, tag);
|
||||
synchronized (mKeyguardDisabled) {
|
||||
mKeyguardDisabled.acquire(token, tag);
|
||||
}
|
||||
}
|
||||
|
||||
public void reenableKeyguard(IBinder token) {
|
||||
|
Reference in New Issue
Block a user