Rename external storage properties.

According to property naming guidelines.

Bug: 152170470
Bug: 153525566
Test: N/A
Change-Id: I64c6d8ca49fbd72f923a8794df0929bd500dd8e9
Merged-In: I64c6d8ca49fbd72f923a8794df0929bd500dd8e9
This commit is contained in:
Martijn Coenen 2020-04-15 11:52:21 +02:00
parent 22beef1b28
commit 94abf26ba2

View file

@ -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