diff options
author | Treehugger Robot <treehugger-gerrit@google.com> | 2021-02-08 23:33:00 +0100 |
---|---|---|
committer | Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com> | 2021-02-08 23:33:00 +0100 |
commit | 36d5558ce05227f18fd7a0d64ccc950d899dad25 (patch) | |
tree | b99904fe2824ea3fdb5f5acd696f0a4ea1e06398 | |
parent | Merge "Fix license_type. Contains OFL" am: 50b96cdf73 am: f0e8422f95 (diff) | |
parent | Merge "Fix SnapshotManager instantiation." am: bc1165edbc (diff) | |
download | android_bootable_recovery-36d5558ce05227f18fd7a0d64ccc950d899dad25.tar android_bootable_recovery-36d5558ce05227f18fd7a0d64ccc950d899dad25.tar.gz android_bootable_recovery-36d5558ce05227f18fd7a0d64ccc950d899dad25.tar.bz2 android_bootable_recovery-36d5558ce05227f18fd7a0d64ccc950d899dad25.tar.lz android_bootable_recovery-36d5558ce05227f18fd7a0d64ccc950d899dad25.tar.xz android_bootable_recovery-36d5558ce05227f18fd7a0d64ccc950d899dad25.tar.zst android_bootable_recovery-36d5558ce05227f18fd7a0d64ccc950d899dad25.zip |
-rw-r--r-- | install/snapshot_utils.cpp | 4 |
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 |