summaryrefslogtreecommitdiff
path: root/opengl/java/android/opengl/Texture.java
diff options
context:
space:
mode:
authorMike Lockwood <lockwood@android.com>2009-11-22 01:42:24 -0500
committerMike Lockwood <lockwood@android.com>2009-11-22 02:00:13 -0500
commit983ee099de60e0288997e33e3fea5c4ff647f5cd (patch)
treeb37b50b7f50d7644a2b8bfe55c45c4a770e5647b /opengl/java/android/opengl/Texture.java
parente7800946a42c0ebe8e0b3f6eba04a96a9641aaff (diff)
Fix deadlock in WindowManagerService.reenableKeyguard()
If reenableKeyguard() is called before the previous disableKeyguard() call is processed, then TokenWatcher.sendNotificationLocked() will cancel the request, resulting in neither the TokenWatcher acquired() or released() methods being called. In that case, reenableKeyguard() will hang waiting for released() to set mWaitingUntilKeyguardReenabled to false. Now we only wait in reenableKeyguard() if the TokenWatcher acquired() method is called and the keyguard has actually been disabled. This should fix bug b/2270192 Change-Id: Id886fb28df607dbb4543124f2db6997121d6a682 Signed-off-by: Mike Lockwood <lockwood@android.com>
Diffstat (limited to 'opengl/java/android/opengl/Texture.java')
0 files changed, 0 insertions, 0 deletions