summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorandroid-build-team Robot <android-build-team-robot@google.com>2020-04-19 09:10:58 +0200
committerandroid-build-team Robot <android-build-team-robot@google.com>2020-04-19 09:10:58 +0200
commitcdc004e2e341c99dbab81729995d5cb17dae19a4 (patch)
tree5e6753c588027efd6c6c978bdb68b7f111371e11
parentSnap for 6388478 from 3143f8e5806769011a45aee2d21c54aeaffb79df to mainline-release (diff)
parentRename external storage properties. am: 94abf26ba2 am: e326e59dde am: 9f1c606aee (diff)
downloadandroid_bootable_recovery-cdc004e2e341c99dbab81729995d5cb17dae19a4.tar
android_bootable_recovery-cdc004e2e341c99dbab81729995d5cb17dae19a4.tar.gz
android_bootable_recovery-cdc004e2e341c99dbab81729995d5cb17dae19a4.tar.bz2
android_bootable_recovery-cdc004e2e341c99dbab81729995d5cb17dae19a4.tar.lz
android_bootable_recovery-cdc004e2e341c99dbab81729995d5cb17dae19a4.tar.xz
android_bootable_recovery-cdc004e2e341c99dbab81729995d5cb17dae19a4.tar.zst
android_bootable_recovery-cdc004e2e341c99dbab81729995d5cb17dae19a4.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 58a313973..99f3c5dc9 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