summaryrefslogtreecommitdiffstats
path: root/install/snapshot_utils.cpp
diff options
context:
space:
mode:
authorDavid Anderson <dvander@google.com>2021-02-05 05:22:29 +0100
committerDavid Anderson <dvander@google.com>2021-02-05 05:23:15 +0100
commitebce8e6306b492afde96ed7a0757b62befcfd722 (patch)
tree2466d2458cfc9d94936ba0251da8ecad0fe8c48b /install/snapshot_utils.cpp
parentMerge "minui: remove libadf since it is no longer supported" (diff)
downloadandroid_bootable_recovery-ebce8e6306b492afde96ed7a0757b62befcfd722.tar
android_bootable_recovery-ebce8e6306b492afde96ed7a0757b62befcfd722.tar.gz
android_bootable_recovery-ebce8e6306b492afde96ed7a0757b62befcfd722.tar.bz2
android_bootable_recovery-ebce8e6306b492afde96ed7a0757b62befcfd722.tar.lz
android_bootable_recovery-ebce8e6306b492afde96ed7a0757b62befcfd722.tar.xz
android_bootable_recovery-ebce8e6306b492afde96ed7a0757b62befcfd722.tar.zst
android_bootable_recovery-ebce8e6306b492afde96ed7a0757b62befcfd722.zip
Diffstat (limited to 'install/snapshot_utils.cpp')
-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