The SNAPSHOTTED state is allowed to be NONE if the slot hasn't changed,
to avoid needing extra snapshot cancels in the bootloader.
Bug: 154449745
Test: vts
Change-Id: Ibcb9f18f535cdcb5aae7e2c9c01e03681dbfff13
Merged-In: Ibcb9f18f535cdcb5aae7e2c9c01e03681dbfff13
It should belong to the default /misc implementation of boot control
1.1. Right now, the library as well as the bootloader_message_ab
are only used by cuttlefish. So move it over to reduce the confusion
in libbootloader_message.
Bug: 131775112
Test: build
Change-Id: I599678bf90d19718de811b9e34d82cf8fe1571a4
(cherry picked from commit c971ea8d5d)
Using the new signature ensures that the device actually provides an
IBootControl 1.1 implementation.
Bug: N/A
Test: manual test
Change-Id: I0ddc1ed71535a31c887d94196295baa46ed37d3c
libsnapshot needs to communicate to the bootloader that a merge is in
progress. This can be used to prevent factory data resets, prevent
flashing or wiping userdata/metadata, and warning when the active slot
changes.
Bug: 138861550
Test: builds
Change-Id: I577877696b5ec6920b9520d518374931ce9ddfaa
Merged-In: I577877696b5ec6920b9520d518374931ce9ddfaa