summaryrefslogtreecommitdiff
path: root/fastboot/device/variables.cpp
diff options
context:
space:
mode:
authorYifan Hong <elsk@google.com>2020-01-13 18:34:59 -0800
committerYifan Hong <elsk@google.com>2020-01-21 13:34:55 -0800
commitb98a2e36ae11c05af5f85186db6193ef91a03373 (patch)
tree3cb5af1c99543c54b929b367e774db5d590b67aa /fastboot/device/variables.cpp
parentcdebef1d2b825d4e296658670fdfaf3f5c6db260 (diff)
SnapshotManager::WaitForMerge gives more info
It now returns Ok() if successful, NeedsReboot() if merge it should be checked again after reboot, and Error() for other errors. This wraps UpdateState to help clients interpret the UpdateState value. Also separate SnapshotManager::Return from FiemapStatus since they are for different libraries and have (potentially) different set of error codes. Test: libsnapshot_test Bug: 138808328 Change-Id: I8c95417c2b0b7b2a362beb12585f861453a79278
Diffstat (limited to 'fastboot/device/variables.cpp')
0 files changed, 0 insertions, 0 deletions