summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTreehugger Robot <treehugger-gerrit@google.com>2021-02-08 22:30:11 +0100
committerGerrit Code Review <noreply-gerritcodereview@google.com>2021-02-08 22:30:11 +0100
commitbc1165edbc4ec1f20170a5b9754fad8e284aae0a (patch)
tree1dc579cc27e336c5fc0947eb28d51fb2c3d7a2d2
parentMerge "Fix license_type. Contains OFL" (diff)
parentFix SnapshotManager instantiation. (diff)
downloadandroid_bootable_recovery-bc1165edbc4ec1f20170a5b9754fad8e284aae0a.tar
android_bootable_recovery-bc1165edbc4ec1f20170a5b9754fad8e284aae0a.tar.gz
android_bootable_recovery-bc1165edbc4ec1f20170a5b9754fad8e284aae0a.tar.bz2
android_bootable_recovery-bc1165edbc4ec1f20170a5b9754fad8e284aae0a.tar.lz
android_bootable_recovery-bc1165edbc4ec1f20170a5b9754fad8e284aae0a.tar.xz
android_bootable_recovery-bc1165edbc4ec1f20170a5b9754fad8e284aae0a.tar.zst
android_bootable_recovery-bc1165edbc4ec1f20170a5b9754fad8e284aae0a.zip
-rw-r--r--install/snapshot_utils.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/install/snapshot_utils.cpp b/install/snapshot_utils.cpp
index 7235e67c8..336e50f89 100644
--- a/install/snapshot_utils.cpp
+++ b/install/snapshot_utils.cpp
@@ -32,7 +32,7 @@ bool FinishPendingSnapshotMerges(Device* device) {
}
RecoveryUI* ui = device->GetUI();
- auto sm = SnapshotManager::NewForFirstStageMount();
+ auto sm = SnapshotManager::New();
if (!sm) {
ui->Print("Could not create SnapshotManager.\n");
return false;
@@ -57,7 +57,7 @@ bool CreateSnapshotPartitions() {
return true;
}
- auto sm = SnapshotManager::NewForFirstStageMount();
+ auto sm = SnapshotManager::New();
if (!sm) {
// SnapshotManager could not be created. The device is still in a
// consistent state and can continue with the mounting of the existing