Rename casefold/projectid properties.

According to property naming guidelines.

Bug: 152170470
Bug: 153525566
Test: N/A
Change-Id: Iaebff2a835288839a2faf0edbe0e47ceb96b4458
This commit is contained in:
Martijn Coenen 2020-04-15 11:42:47 +02:00
parent 7f4a71c2ff
commit 97ff0845e2

View file

@ -171,8 +171,9 @@ status_t Format(const std::string& source, unsigned long numSectors, const std::
cmd.push_back("-M"); cmd.push_back("-M");
cmd.push_back(target); cmd.push_back(target);
bool needs_casefold = android::base::GetBoolProperty("ro.emulated_storage.casefold", false); bool needs_casefold =
bool needs_projid = android::base::GetBoolProperty("ro.emulated_storage.projid", false); android::base::GetBoolProperty("external_storage.casefold.enabled", false);
bool needs_projid = android::base::GetBoolProperty("external_storage.projid.enabled", false);
if (needs_projid) { if (needs_projid) {
cmd.push_back("-I"); cmd.push_back("-I");