Merge "Deprecate /factory"

This commit is contained in:
SzuWei Lin 2021-01-13 01:11:43 +00:00 committed by Gerrit Code Review
commit bedae3910c
1 changed files with 0 additions and 2 deletions

View File

@ -957,8 +957,6 @@ void PropertyLoadBootDefaults() {
load_properties_from_partition("odm", /* support_legacy_path_until */ 28);
load_properties_from_partition("product", /* support_legacy_path_until */ 30);
load_properties_from_file("/factory/factory.prop", "ro.*", &properties);
if (access(kDebugRamdiskProp, R_OK) == 0) {
LOG(INFO) << "Loading " << kDebugRamdiskProp;
load_properties_from_file(kDebugRamdiskProp, nullptr, &properties);