summaryrefslogtreecommitdiff
path: root/rs/java/android/renderscript/ProgramFragmentFixedFunction.java
diff options
context:
space:
mode:
authorCraig Mautner <cmautner@google.com>2014-09-04 12:56:39 -0700
committerCraig Mautner <cmautner@google.com>2014-09-04 12:56:39 -0700
commit66eb5218335886fed1978891bd0f2d04d2109563 (patch)
tree175efccd46dd31878b73d91c2d8e0aa22be1db53 /rs/java/android/renderscript/ProgramFragmentFixedFunction.java
parente8f8bc0ad6f7f2c657b4360033d2c7571c800ccb (diff)
Eliminate deadlock by deferring wipe data call
The call to RecoverySystem.rebootWipeUserData() was made while holding the lock to DevicePolicyManagerService. But it blocks waiting for system_process' main thread to receive the ordered broadcast complete callback. It won't receive that callback because Keyguard is running on the main thread and is concurrently blocked on DevicePolicyManagerService. By moving the call to rebootWipeUserData() out of the synchronized block the deadlock is eliminated. Fixes bug 16870054. Change-Id: I3eb587211e5484859cc9dab7e80e5a1f6c85225d
Diffstat (limited to 'rs/java/android/renderscript/ProgramFragmentFixedFunction.java')
0 files changed, 0 insertions, 0 deletions