diff options
author | Yifan Hong <elsk@google.com> | 2020-03-16 12:31:16 -0700 |
---|---|---|
committer | Yifan Hong <elsk@google.com> | 2020-03-17 11:49:43 -0700 |
commit | 5cd63faf5f81c3cc45162a87d09167e2d268b038 (patch) | |
tree | 84a78f9b2045401f7c83faf6c45817fa1ddae5d6 /common/dynamic_partition_control_interface.h | |
parent | f526156e5fbc46203d097cdaa11f51df2eafae54 (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
Diffstat (limited to 'common/dynamic_partition_control_interface.h')
0 files changed, 0 insertions, 0 deletions