Merge "Deprecate /factory" am: bedae3910c am: 232c427b52

Original change: https://android-review.googlesource.com/c/platform/system/core/+/1547514

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: Id1355101b19f7bedabba3ff58d93ac20273e6666
This commit is contained in:
SzuWei Lin 2021-01-13 01:59:57 +00:00 committed by Automerger Merge Worker
commit 977b7d21bc

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);