Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 40af11f8 authored by JW Wang's avatar JW Wang
Browse files

Merge streamValidateAndCommit() and streamAndValidateLocked() (2/n)

Also move mStagingManager.checkNonOverlappingWithStagedSessions() outside
the lock. It is safe to do so since it accesses members which are immutable
after calls to validate[Apex|Apk]InstallLocked().

Now all calls to StagingManager are done outside the lock.

Bug: 161765186
Test: atest StagedInstallTest AtomicInstallTest StagedInstallInternalTest
Change-Id: I0d7cbe83a117a2d01eedc089a34778739d5fee36
parent e6542d04
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment