diff options
author | Tao Bao <tbao@google.com> | 2019-05-11 06:12:19 +0200 |
---|---|---|
committer | android-build-merger <android-build-merger@google.com> | 2019-05-11 06:12:19 +0200 |
commit | 8ffec8944c3632f33f145a1190c8ab624f31f042 (patch) | |
tree | d385b79a784e8e3927e321008c2a1e95e46c0637 /recovery.cpp | |
parent | Merge "Import translations. DO NOT MERGE" (diff) | |
parent | Merge "roots: Remove get_system_root and logical_partitions_mapped." am: ba8f38d741 (diff) | |
download | android_bootable_recovery-8ffec8944c3632f33f145a1190c8ab624f31f042.tar android_bootable_recovery-8ffec8944c3632f33f145a1190c8ab624f31f042.tar.gz android_bootable_recovery-8ffec8944c3632f33f145a1190c8ab624f31f042.tar.bz2 android_bootable_recovery-8ffec8944c3632f33f145a1190c8ab624f31f042.tar.lz android_bootable_recovery-8ffec8944c3632f33f145a1190c8ab624f31f042.tar.xz android_bootable_recovery-8ffec8944c3632f33f145a1190c8ab624f31f042.tar.zst android_bootable_recovery-8ffec8944c3632f33f145a1190c8ab624f31f042.zip |
Diffstat (limited to 'recovery.cpp')
-rw-r--r-- | recovery.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/recovery.cpp b/recovery.cpp index dbac3e01a..20e5a1be3 100644 --- a/recovery.cpp +++ b/recovery.cpp @@ -41,6 +41,7 @@ #include <android-base/stringprintf.h> #include <android-base/strings.h> #include <cutils/properties.h> /* for property_list */ +#include <fs_mgr/roots.h> #include <healthhalutils/HealthHalUtils.h> #include <ziparchive/zip_archive.h> @@ -437,8 +438,7 @@ static Device::BuiltinAction PromptAndWait(Device* device, InstallResult status) break; } case Device::MOUNT_SYSTEM: - // the system partition is mounted at /mnt/system - if (ensure_path_mounted_at(get_system_root(), "/mnt/system") != -1) { + if (ensure_path_mounted_at(android::fs_mgr::GetSystemRoot(), "/mnt/system") != -1) { ui->Print("Mounted /system.\n"); } break; |