summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTreehugger Robot <treehugger-gerrit@google.com>2021-02-09 00:58:03 +0100
committerAutomerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>2021-02-09 00:58:03 +0100
commiteaaf3be88a59ac6c077904921c1aa547c5d21549 (patch)
tree07d6d64875845e8c129b651400acc82c7be1502e
parentMerge "Fix license_type. Contains OFL" am: 50b96cdf73 am: f0e8422f95 am: dfcb6e56b7 am: 186e8fd9f1 (diff)
parentMerge "Fix SnapshotManager instantiation." am: bc1165edbc am: 88a0f6edaa am: 36d5558ce0 (diff)
downloadandroid_bootable_recovery-eaaf3be88a59ac6c077904921c1aa547c5d21549.tar
android_bootable_recovery-eaaf3be88a59ac6c077904921c1aa547c5d21549.tar.gz
android_bootable_recovery-eaaf3be88a59ac6c077904921c1aa547c5d21549.tar.bz2
android_bootable_recovery-eaaf3be88a59ac6c077904921c1aa547c5d21549.tar.lz
android_bootable_recovery-eaaf3be88a59ac6c077904921c1aa547c5d21549.tar.xz
android_bootable_recovery-eaaf3be88a59ac6c077904921c1aa547c5d21549.tar.zst
android_bootable_recovery-eaaf3be88a59ac6c077904921c1aa547c5d21549.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