summaryrefslogtreecommitdiff
path: root/rs/java/android/renderscript/ProgramFragmentFixedFunction.java
diff options
context:
space:
mode:
authorYi Jiang <eejiang@google.com>2021-05-24 14:54:50 -0700
committerYi Jiang <eejiang@google.com>2021-05-24 14:55:01 -0700
commitfe322bdca3bfc2c42ffd477109ff815d45339058 (patch)
tree62ad00531d8e28ffffec4eeeac034ca951c17d40 /rs/java/android/renderscript/ProgramFragmentFixedFunction.java
parente1d070106981adaf5bbb5b34ed3fd920e12140e7 (diff)
Ensures RotationRequest#mLock can only accquried by main thread.
There are 2 locks in RRMS and RotationRequest class. UI thread and main thread both needs to acquire these lock which introduce risk of deadlocking. This change fixes the issue by only letting the main thread get the lock of RotationRequest. Test: presubmit Bug: 188932757 Change-Id: I8fd0beb094356636096155eabeef8c9d24fa0da1
Diffstat (limited to 'rs/java/android/renderscript/ProgramFragmentFixedFunction.java')
0 files changed, 0 insertions, 0 deletions