summaryrefslogtreecommitdiff
path: root/scripts/update_payload/format_utils_unittest.py
diff options
context:
space:
mode:
authorYifan Hong <elsk@google.com>2020-03-16 12:31:16 -0700
committerandroid-build-team Robot <android-build-team-robot@google.com>2020-03-17 23:03:40 +0000
commitc5a716649e6d48dbff9d51a4f740371a8cd1980f (patch)
tree2002ff8ff0aca73e37edf624194ba039d2127cc1 /scripts/update_payload/format_utils_unittest.py
parent9ed0e4e9b5b1fa72ea8fb510ea91562cf72429b7 (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/update_payload/format_utils_unittest.py')
0 files changed, 0 insertions, 0 deletions