diff options
author | Yifan Hong <elsk@google.com> | 2020-01-13 18:34:59 -0800 |
---|---|---|
committer | Yifan Hong <elsk@google.com> | 2020-01-21 13:34:55 -0800 |
commit | b98a2e36ae11c05af5f85186db6193ef91a03373 (patch) | |
tree | 3cb5af1c99543c54b929b367e774db5d590b67aa /fastboot/device/variables.cpp | |
parent | cdebef1d2b825d4e296658670fdfaf3f5c6db260 (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