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

Skip to content
Commit e2f2f264 authored by JW Wang's avatar JW Wang
Browse files

Restart verification for committed sessions that are not READY (2/n)

If reboot happens before a staged session reaches READY, we need to
rerun both APK verificatioin and pre-reboot verification.

* Add a member mBootCompleted to ensure we run verification after boot
  completed since we can't send broadcasts during booting.
* Rewrite startPreRebootVerification() using mBootCompleted to simplify
  the code.
* Fix StagingManagerTest since verifySession() is now the entry point
  for starting verification.

Bug: 181092466
Test: atest StagedInstallTest StagingManagerTest
Change-Id: I7a2708dc6bbc1e758d7e3fa87264552f36e1f42d
parent 5d959629
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment