summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMartijn Coenen <maco@google.com>2020-04-16 11:34:43 +0200
committerAutomerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>2020-04-16 11:34:43 +0200
commit301d51ceb6e85050be15dcbce15b2c2c3b1cfe0a (patch)
tree0fb1fc039d91e55eaa868c43cedee3e0cdbfaee7
parentMerge "Support F2FS compression" am: d541f71204 am: 7f3fbf808d am: 6a4cc31ec7 am: 08241cca54 am: 6909061231 (diff)
parentMerge "Rename external storage properties." am: 014e1d7b06 am: 7a530e102d am: 7323ae7f90 am: bfb67c0dd7 (diff)
downloadandroid_bootable_recovery-301d51ceb6e85050be15dcbce15b2c2c3b1cfe0a.tar
android_bootable_recovery-301d51ceb6e85050be15dcbce15b2c2c3b1cfe0a.tar.gz
android_bootable_recovery-301d51ceb6e85050be15dcbce15b2c2c3b1cfe0a.tar.bz2
android_bootable_recovery-301d51ceb6e85050be15dcbce15b2c2c3b1cfe0a.tar.lz
android_bootable_recovery-301d51ceb6e85050be15dcbce15b2c2c3b1cfe0a.tar.xz
android_bootable_recovery-301d51ceb6e85050be15dcbce15b2c2c3b1cfe0a.tar.zst
android_bootable_recovery-301d51ceb6e85050be15dcbce15b2c2c3b1cfe0a.zip
-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