summaryrefslogtreecommitdiff
path: root/rs/java/android/renderscript/ProgramFragmentFixedFunction.java
diff options
context:
space:
mode:
authorPavel Grafov <pgrafov@google.com>2021-04-27 15:53:18 +0100
committerPavel Grafov <pgrafov@google.com>2021-04-27 16:17:40 +0100
commit4602e87f41eae248a8941bf1c24444899acbb6f1 (patch)
tree021e60ffd8f506ff3929259e93c5411b5928f07a /rs/java/android/renderscript/ProgramFragmentFixedFunction.java
parent1b2c66567e8ffdf628d2198c3bb4ea841db5f5e9 (diff)
Drive-by fix for wtfIfInLock + two violations
wtfIfInLock() method was checking 'this' lock while the code is actually using mLockDoNoUseDirectly returned by getLockObject(), thus violation werent reported. This CL changes this and fixes violations when calling hasIncompatibleAccountsOrNonAdbNoLock. Also move it to other lock-related methods. Bug: 162815601 Test: atest com.android.cts.devicepolicy.DeviceOwnerTest#testDeviceOwnerSetup Test: atest com.android.cts.devicepolicy.ProfileOwnerTest#testManagement Test: manual: add account, attempt setting a DO Change-Id: Id64930552f5a9b25464ba942b0b1ddbe9378928e
Diffstat (limited to 'rs/java/android/renderscript/ProgramFragmentFixedFunction.java')
0 files changed, 0 insertions, 0 deletions