summaryrefslogtreecommitdiff
path: root/rs/java/android/renderscript/ProgramFragmentFixedFunction.java
diff options
context:
space:
mode:
authorDario Freni <dariofreni@google.com>2019-05-10 19:40:50 +0100
committerDario Freni <dariofreni@google.com>2019-05-10 19:55:10 +0100
commit7f5a695bfdedc308d3e71f2ac8b5c24c9201d229 (patch)
treec9e3a3ba1846db721951a041ecc2b3bc35fab7df /rs/java/android/renderscript/ProgramFragmentFixedFunction.java
parent41b8270f6f24ac48ebcf3aa4b3ec0cab387301d9 (diff)
Preserve active staged sessions.
If a staged session is pending, we should never garbage collect it. Leave it to the installer to abandon the session if needed. This is a partial revert of Ifaccf50e744a97e30a4fda0e47b88d7dc71adcf8. In reality, this logic was correctly preserving non-final staged sessions, and it was the condition in sealAndValidateIfNecessary that previously caused the erroneous early garbage collection of staged sessions in final state. Fix: 132444450 Bug: 132444450 Test: staged a session, manually modified update timestamp, verified that it's correctly applied on reboot. manually modified update timestamp again, verified that it's correctly garbage collected. Change-Id: I5fc568357fb8ec483d52056f5a805b09149cfec9
Diffstat (limited to 'rs/java/android/renderscript/ProgramFragmentFixedFunction.java')
0 files changed, 0 insertions, 0 deletions