Remove /default.prop
The file is removed. init no longer needs to read it. Bug: 117892318 Test: TH passes on non-Treble devices. Change-Id: Idc4127bad66db24c7033b47c41b9eb85a5e0a5cd
This commit is contained in:
parent
c068d0e0ef
commit
c688e8fcce
|
@ -886,10 +886,6 @@ void PropertyLoadBootDefaults() {
|
|||
load_properties_from_file("/prop.default", nullptr, &properties);
|
||||
}
|
||||
|
||||
// Try legacy (non-Treble) path. This file might not exist in most of the
|
||||
// post-Oreo devices. Absence of the file is not an error.
|
||||
load_properties_from_file("/default.prop", nullptr, &properties);
|
||||
|
||||
load_properties_from_file("/system/build.prop", nullptr, &properties);
|
||||
load_properties_from_file("/system_ext/build.prop", nullptr, &properties);
|
||||
|
||||
|
|
Loading…
Reference in New Issue