summaryrefslogtreecommitdiffstats
path: root/recovery_utils/roots.cpp
diff options
context:
space:
mode:
authorMartijn Coenen <maco@google.com>2020-04-15 11:52:21 +0200
committerMartijn Coenen <maco@google.com>2020-04-15 17:29:43 +0200
commit5a4a7fffb73138688dcbf81cf1178830cc1b39b8 (patch)
treef1a776ba3989b5e7581c592ef101057aa154d3e6 /recovery_utils/roots.cpp
parentMerge "Support F2FS compression" (diff)
downloadandroid_bootable_recovery-5a4a7fffb73138688dcbf81cf1178830cc1b39b8.tar
android_bootable_recovery-5a4a7fffb73138688dcbf81cf1178830cc1b39b8.tar.gz
android_bootable_recovery-5a4a7fffb73138688dcbf81cf1178830cc1b39b8.tar.bz2
android_bootable_recovery-5a4a7fffb73138688dcbf81cf1178830cc1b39b8.tar.lz
android_bootable_recovery-5a4a7fffb73138688dcbf81cf1178830cc1b39b8.tar.xz
android_bootable_recovery-5a4a7fffb73138688dcbf81cf1178830cc1b39b8.tar.zst
android_bootable_recovery-5a4a7fffb73138688dcbf81cf1178830cc1b39b8.zip
Diffstat (limited to '')
-rw-r--r--recovery_utils/roots.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/recovery_utils/roots.cpp b/recovery_utils/roots.cpp
index ae656d0ad..19484478c 100644
--- a/recovery_utils/roots.cpp
+++ b/recovery_utils/roots.cpp
@@ -157,8 +157,8 @@ int format_volume(const std::string& volume, const std::string& directory) {
bool needs_projid = false;
if (volume == "/data") {
- needs_casefold = android::base::GetBoolProperty("ro.emulated_storage.casefold", false);
- needs_projid = android::base::GetBoolProperty("ro.emulated_storage.projid", false);
+ needs_casefold = android::base::GetBoolProperty("external_storage.casefold.enabled", false);
+ needs_projid = android::base::GetBoolProperty("external_storage.projid.enabled", false);
}
// If there's a key_loc that looks like a path, it should be a block device for storing encryption