/vendor/default.prop is removed. am: 8569552ec2 am: cbdb311d35 am: 67c7244ae6 am: 419180a768
Change-Id: Ie089417832d004fef31cf1efdf6347cda2a604c0
This commit is contained in:
commit
8816ed0766
1 changed files with 8 additions and 1 deletions
|
|
@ -891,14 +891,21 @@ void PropertyLoadBootDefaults() {
|
|||
}
|
||||
load_properties_from_file("/system/build.prop", nullptr, &properties);
|
||||
load_properties_from_file("/system_ext/build.prop", nullptr, &properties);
|
||||
load_properties_from_file("/vendor/default.prop", nullptr, &properties);
|
||||
|
||||
// TODO(b/117892318): uncomment the following condition when vendor.imgs for
|
||||
// aosp_* targets are all updated.
|
||||
// if (SelinuxGetVendorAndroidVersion() <= __ANDROID_API_R__) {
|
||||
load_properties_from_file("/vendor/default.prop", nullptr, &properties);
|
||||
// }
|
||||
load_properties_from_file("/vendor/build.prop", nullptr, &properties);
|
||||
|
||||
if (SelinuxGetVendorAndroidVersion() >= __ANDROID_API_Q__) {
|
||||
load_properties_from_file("/odm/etc/build.prop", nullptr, &properties);
|
||||
} else {
|
||||
load_properties_from_file("/odm/default.prop", nullptr, &properties);
|
||||
load_properties_from_file("/odm/build.prop", nullptr, &properties);
|
||||
}
|
||||
|
||||
load_properties_from_file("/product/build.prop", nullptr, &properties);
|
||||
load_properties_from_file("/factory/factory.prop", "ro.*", &properties);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue