commit | d2a0247538dae4a611455a22f54b31f27e43c9ae | [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 | 82f1cbea1ebf45dbb2bddf35920774edd280a639 [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