summaryrefslogtreecommitdiff
path: root/rs/java/android/renderscript/ProgramFragmentFixedFunction.java
diff options
context:
space:
mode:
authorJW Wang <wangchun@google.com>2020-07-28 15:40:27 +0800
committerJW Wang <wangchun@google.com>2020-07-31 08:16:02 +0000
commit4e217ed3a3adc8ff57d434415cc89ce25f24c2b1 (patch)
treeee7ad1f507a79a584375e428d3c0118405dcce37 /rs/java/android/renderscript/ProgramFragmentFixedFunction.java
parent933072bdbd70b99333087cf34c0b7be59616fd87 (diff)
Don't set mDestroyed for a staged session
This CL fixes the race condition in b/161647423#comment1. No matter setStagedSessionFailed() happens before or after destroyInternal(), it will not cause a staged session to disappear (by setting mDestroyed). In line with b/161647423#comment8, we want to keep staged sessions until they 1. get expired 2. abandoned before reaching the terminal state Bug: 161647423 Test: atest StagedInstallTest StagedInstallInternalTest Change-Id: I41b7030451086602c8439b50e4362a36007a49cb
Diffstat (limited to 'rs/java/android/renderscript/ProgramFragmentFixedFunction.java')
0 files changed, 0 insertions, 0 deletions