diff options
author | Yifan Hong <elsk@google.com> | 2020-03-16 12:31:16 -0700 |
---|---|---|
committer | android-build-team Robot <android-build-team-robot@google.com> | 2020-03-17 23:03:40 +0000 |
commit | c5a716649e6d48dbff9d51a4f740371a8cd1980f (patch) | |
tree | 2002ff8ff0aca73e37edf624194ba039d2127cc1 /scripts/payload_info_unittest.py | |
parent | 9ed0e4e9b5b1fa72ea8fb510ea91562cf72429b7 (diff) |
Fix merge in sideload
For UpdateAttempterAndroid:
- In sideload, ApplyPayload is immediately called after
UpdateAttempterAndroid::Init(), and errors out because
ScheduleCleanupPreviousUpdate starts the ActionProcessor. Do not
call it in sideload since ApplyPayload schedules a
CleanupPreviousUpdateAction too.
- Also fixes TerminateUpdateAndNotify in sideload if it errors at
CleanupPreviousUpdateAction.
For CleanupPreviousUpdateAction:
- Don't wait for boot_completed and slot verification in sideload.
- Ensure metadata is mounted.
Fixes: 151640692
Test: sideload
Change-Id: Ib91b208d3f8d79285b9a87a44410a575bd2da42e
Merged-In: Ib91b208d3f8d79285b9a87a44410a575bd2da42e
(cherry picked from commit 5cd63faf5f81c3cc45162a87d09167e2d268b038)
Diffstat (limited to 'scripts/payload_info_unittest.py')
0 files changed, 0 insertions, 0 deletions