commit | dba117c14e46a484bb00410a61087e76fe9bce04 | [log] [tgz] |
---|---|---|
author | Yifan Hong <elsk@google.com> | Thu Oct 17 18:25:04 2019 -0700 |
committer | Yifan Hong <elsk@google.com> | Fri Oct 25 15:37:11 2019 -0700 |
tree | 096357a43dbabc2965aedf457f2b17645bf623ad | |
parent | b676a074e14744be05498a14c7667dfee3551ab7 [diff] |
libsnapshot: Add EnsureMetadataMounted In recovery, client is responsible for calling EnsureMetadataMounted before doing (almost) all operations on SnapshotManager, e.g. - CancelUpdate() before sideloading - BeginUpdate() on retrofit Virtual A/B before sideloading - Finishing merge before flashing Test: libsnapshot_test Test: recovery sideload Bug: 140749209 Change-Id: I1034a7fa74e31b6850896e61e86341239dbf2699