summaryrefslogtreecommitdiff
path: root/rs/java/android/renderscript/ProgramFragmentFixedFunction.java
diff options
context:
space:
mode:
authorJim Miller <jaggies@google.com>2014-11-14 17:56:27 -0800
committerJim Miller <jaggies@google.com>2014-11-14 18:24:27 -0800
commit96afb6f03b87359c3bcb96c2bdb8aadc7b1c3c37 (patch)
tree47fb7e902b18f540b540551554cba7807ec9200e /rs/java/android/renderscript/ProgramFragmentFixedFunction.java
parentbba231d7a63b58a8c2b174722ed1487b0f7d8270 (diff)
Fix deadlock caused by synchronous setOccluded() method in keyguard
This fixes a deadlock where WindowManagerService can call into KeyguardService.setOccluded() while holding a lock. As soon as keyguard receives the call, it immediately needs to check permission and calls back into the system service which is waiting for the lock to be released. Boom! The fix does a quick check of the calling UID and allows the call if coming from the System UID, thus bypassing the need for a binder call to checkPermission(). Fixes bug 18362246 Change-Id: Iab4be8a885f330fb2a62ee7e3579966e1447f8b0
Diffstat (limited to 'rs/java/android/renderscript/ProgramFragmentFixedFunction.java')
0 files changed, 0 insertions, 0 deletions