Rename casefold/projectid properties (for f2fs).

According to property naming guidelines.

Bug: 152170470
Bug: 153525566
Test: N/A
Change-Id: Iad1caff6e5cfb7f6a09b77532d64a24de9b0b3c6
This commit is contained in:
Martijn Coenen 2020-04-16 10:16:29 +02:00
parent aee6b6fccd
commit e9239f757e

View file

@ -90,8 +90,9 @@ status_t Format(const std::string& source) {
cmd.push_back("verity");
const bool needs_casefold =
android::base::GetBoolProperty("ro.emulated_storage.casefold", false);
const bool needs_projid = android::base::GetBoolProperty("ro.emulated_storage.projid", false);
android::base::GetBoolProperty("external_storage.casefold.enabled", false);
const bool needs_projid =
android::base::GetBoolProperty("external_storage.projid.enabled", false);
if (needs_projid) {
cmd.push_back("-O");
cmd.push_back("project_quota,extra_attr");