summaryrefslogtreecommitdiff
path: root/init/builtins.cpp
diff options
context:
space:
mode:
authorYifan Hong <elsk@google.com>2019-12-13 19:28:28 -0800
committerYifan Hong <elsk@google.com>2019-12-13 19:52:31 -0800
commit1af515b57c97ef9ce88334ffab9275df71ad87d0 (patch)
tree715ffdb58ae5ef00c888a310c08a5450aab88f9f /init/builtins.cpp
parentc810f1091a45f35d3f5e1fcbc9ff25848b55353a (diff)
libsnapshot: add WaitForMerge
Add an API that does not initiate the merge, but only waits for it to finish. It is different from ProcessUpdateState API in that it also blocks when state == UNVERIFIED and booting from the new slot. (ProcessUpdateState immediately returns in this case). This is useful for android.os.UpdateEngine.CleanupSuccessfulUpdate(). Bug: 138808328 Test: libsnapshot_test Change-Id: I7cc59fcaf69616e7ec7ebe6101991b5106845b65
Diffstat (limited to 'init/builtins.cpp')
0 files changed, 0 insertions, 0 deletions