diff options
author | JW Wang <wangchun@google.com> | 2020-08-21 15:02:56 +0800 |
---|---|---|
committer | JW Wang <wangchun@google.com> | 2020-08-28 11:07:50 +0800 |
commit | e6542d041b4f0ddf558373d264ce881107372e6e (patch) | |
tree | 61cf1a087a4b67fa08d74eb0b731a95d3a554215 /rs/java/android/renderscript/ProgramFragmentFixedFunction.java | |
parent | 1049f8a6fdc4183e26bf61014028e0500ddf7d39 (diff) |
Rewrite how we abandon stages sessions (1/n)
1. if abandon() is called before or after pre-reboot verification, it
is safe to clean up the session immediately.
2. otherwise, it wait until notifyEndPreRebootVerification() is called
to do the clean-up.
This is the 1st step to move all calls to StagingManager outside of
the lock. The goal is make it safe for StagingManager to call into
PackageInstallerSession methods without incurring deadlock.
Bug: 161765186
Test: atest StagedInstallTest AtomicInstallTest StagedInstallInternalTest
Change-Id: Ic37b58e621ba8fd0ba61c78b9ac44871fe0cefcb
Diffstat (limited to 'rs/java/android/renderscript/ProgramFragmentFixedFunction.java')
0 files changed, 0 insertions, 0 deletions