load sysprops from vendor_dlkm.
Load sysprops from /vendor_dlkm/build.prop. Note that no property contexts are loaded from vendor_dlkm. Test: getprop | grep vendor_dlkm Bug: 156020364 Change-Id: Ib0e8ba1791e1d2c11d055ef496208993e11d9b0f
This commit is contained in:
parent
6b1c15c063
commit
2ed3cdaa06
|
@ -632,9 +632,10 @@ static void LoadProperties(char* data, const char* filter, const char* filename,
|
|||
char *key, *value, *eol, *sol, *tmp, *fn;
|
||||
size_t flen = 0;
|
||||
|
||||
static constexpr const char* const kVendorPathPrefixes[2] = {
|
||||
static constexpr const char* const kVendorPathPrefixes[3] = {
|
||||
"/vendor",
|
||||
"/odm",
|
||||
"/vendor_dlkm",
|
||||
};
|
||||
|
||||
const char* context = kInitContext;
|
||||
|
@ -939,6 +940,7 @@ void PropertyLoadBootDefaults() {
|
|||
load_properties_from_file("/vendor/default.prop", nullptr, &properties);
|
||||
// }
|
||||
load_properties_from_file("/vendor/build.prop", nullptr, &properties);
|
||||
load_properties_from_file("/vendor_dlkm/etc/build.prop", nullptr, &properties);
|
||||
load_properties_from_partition("odm", /* support_legacy_path_until */ 28);
|
||||
load_properties_from_partition("product", /* support_legacy_path_until */ 30);
|
||||
|
||||
|
|
Loading…
Reference in New Issue