summaryrefslogtreecommitdiff
path: root/rs/java/android/renderscript/ProgramVertexFixedFunction.java
diff options
context:
space:
mode:
authorJW Wang <wangchun@google.com>2020-06-22 16:22:08 +0800
committerJW Wang <wangchun@google.com>2020-06-24 11:27:06 +0000
commit8a207c40f82fc89e21e3245ddbb3237fc040002e (patch)
tree29b447341b9ae445693e2538076c03aed532aaa1 /rs/java/android/renderscript/ProgramVertexFixedFunction.java
parent71f139471c11200d478e4d6dafe9189851814cd8 (diff)
Prevent a deadlock in #abandon
See b/159568595#comment1 for analysis. 1. rename cleanStageDir to cleanStageDirNotLocked to show it must be called without mLock held. 2. rename getChildSessions to getChildSessionsNotLocked to show it must be called without mLock held. 3. add cleanStageDir(List<PackageInstallerSession>) which is callable when mLock is held. Bug: 159568595 Test: atest StagedInstallTest Merged-In: I512ea07a4f8750431b306fa6e3c47a600a50b64f Change-Id: I512ea07a4f8750431b306fa6e3c47a600a50b64f (cherry picked from commit 4ce1273f926851bb58d44f59b5643373d4567c81)
Diffstat (limited to 'rs/java/android/renderscript/ProgramVertexFixedFunction.java')
0 files changed, 0 insertions, 0 deletions