Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 47886882 authored by SzuWei Lin's avatar SzuWei Lin
Browse files

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
parent f3f83ace
Loading
Loading
Loading
Loading
+0 −2
Original line number Diff line number Diff line
@@ -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);