summaryrefslogtreecommitdiff
path: root/rs/java/android/renderscript/ProgramFragmentFixedFunction.java
diff options
context:
space:
mode:
authorRubin Xu <rubinxu@google.com>2017-05-15 11:50:09 +0100
committerRubin Xu <rubinxu@google.com>2017-05-15 14:45:55 +0100
commit04a4e1de71189c6ead8cb363f393ea7e0e4db0c7 (patch)
tree5196c36d4d8d56230ce6085099cba9a841836ec7 /rs/java/android/renderscript/ProgramFragmentFixedFunction.java
parent247b9c4a0a6720816c1119df7a05d18a8fe8f35d (diff)
Fix a deadlock in LockSettingsService
Order of taking locks in LSS: mSeparateChallengeLock -> mSpManager -> this. Since getGateKeeperService().getSecureUserId() will end up calling getSeparateProfileChallengeEnabled() which tries to acquire mSeparateChallengeLock , we shouldn't be holding this lock while calling getSecureUserId() Also spell out the order of taking locks in a comment. Test: while device lockscreen is being changed, run "adb shell dumpsys lock_settings" and verify device is not locked up. Bug: 37663848 Change-Id: I6b780ab5d1e33b07392f0ab0df29ecc3956f89ff
Diffstat (limited to 'rs/java/android/renderscript/ProgramFragmentFixedFunction.java')
0 files changed, 0 insertions, 0 deletions