summaryrefslogtreecommitdiffstats
path: root/otautil
diff options
context:
space:
mode:
authorTao Bao <tbao@google.com>2019-05-11 01:58:32 +0200
committerGerrit Code Review <noreply-gerritcodereview@google.com>2019-05-11 01:58:32 +0200
commitba8f38d7418a813c37647e9c7cf5cfa7fc9e2f26 (patch)
treea95adea292d94af550e1a1c8c0ed1c036d63f340 /otautil
parentMerge "DO NOT MERGE - Merge Pie Bonito/Sargo into master." (diff)
parentroots: Remove get_system_root and logical_partitions_mapped. (diff)
downloadandroid_bootable_recovery-ba8f38d7418a813c37647e9c7cf5cfa7fc9e2f26.tar
android_bootable_recovery-ba8f38d7418a813c37647e9c7cf5cfa7fc9e2f26.tar.gz
android_bootable_recovery-ba8f38d7418a813c37647e9c7cf5cfa7fc9e2f26.tar.bz2
android_bootable_recovery-ba8f38d7418a813c37647e9c7cf5cfa7fc9e2f26.tar.lz
android_bootable_recovery-ba8f38d7418a813c37647e9c7cf5cfa7fc9e2f26.tar.xz
android_bootable_recovery-ba8f38d7418a813c37647e9c7cf5cfa7fc9e2f26.tar.zst
android_bootable_recovery-ba8f38d7418a813c37647e9c7cf5cfa7fc9e2f26.zip
Diffstat (limited to 'otautil')
-rw-r--r--otautil/include/otautil/roots.h4
-rw-r--r--otautil/roots.cpp8
2 files changed, 0 insertions, 12 deletions
diff --git a/otautil/include/otautil/roots.h b/otautil/include/otautil/roots.h
index 482f3d050..2ab3f4549 100644
--- a/otautil/include/otautil/roots.h
+++ b/otautil/include/otautil/roots.h
@@ -53,7 +53,3 @@ int format_volume(const std::string& volume, const std::string& directory);
// Ensure that all and only the volumes that packages expect to find
// mounted (/tmp and /cache) are mounted. Returns 0 on success.
int setup_install_mounts();
-
-bool logical_partitions_mapped();
-
-std::string get_system_root();
diff --git a/otautil/roots.cpp b/otautil/roots.cpp
index 815d644e5..a778e05ff 100644
--- a/otautil/roots.cpp
+++ b/otautil/roots.cpp
@@ -275,11 +275,3 @@ int setup_install_mounts() {
}
return 0;
}
-
-bool logical_partitions_mapped() {
- return android::fs_mgr::LogicalPartitionsMapped();
-}
-
-std::string get_system_root() {
- return android::fs_mgr::GetSystemRoot();
-}