commit | 5cd63faf5f81c3cc45162a87d09167e2d268b038 | [log] [tgz] |
---|---|---|
author | Yifan Hong <elsk@google.com> | Mon Mar 16 12:31:16 2020 -0700 |
committer | Yifan Hong <elsk@google.com> | Tue Mar 17 11:49:43 2020 -0700 |
tree | 84a78f9b2045401f7c83faf6c45817fa1ddae5d6 | |
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