Deprecate /factory
After Treblized, AOSP do not handle /factory folder. Also, AOSP does not mount any partition to /factory. /factory has no possibility to have any content. For factory purpose, it can be implemented in vendor. Bug: 177280838 Test: na Change-Id: I0a2537336c2ef1efbad3e4f9e876aeaa607bc737
This commit is contained in:
parent
f3f83ace67
commit
478868826f
|
@ -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);
|
||||
|
|
Loading…
Reference in New Issue