commit | dd8846886aa21980ecdca7ba42deac4f7ecd8ff0 | [log] [tgz] |
---|---|---|
author | Mike Lockwood <lockwood@android.com> | Sun Oct 11 16:57:08 2009 -0400 |
committer | Mike Lockwood <lockwood@android.com> | Sun Oct 11 17:07:55 2009 -0400 |
tree | fb4caaf90f37f423a0f9511fde2023945a36b305 | |
parent | 6dc3f4e553d333b9f115a222a9a684bb2aa55b5e [diff] |
Fix race condition in WindowManagerService.disableKeyguard() TokenWatcher.acquire() synchronizes on mTokens, not this, so we need to synchronize on mKeyguardDisabled in disableKeyguard() to synchronize properly with reenableKeyguard(). This should fix b/2180142 (Stuck in enable keyguard when receiving phone call) Change-Id: Iad66a2748c7fbf2c516fdb8a00988696719ea80c Signed-off-by: Mike Lockwood <lockwood@android.com>