From c688e8fccee3b8a47ecb3ee29f16df2dbc86b197 Mon Sep 17 00:00:00 2001 From: Jiyong Park Date: Thu, 14 May 2020 17:09:26 +0900 Subject: [PATCH] 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 --- init/property_service.cpp | 4 ---- 1 file changed, 4 deletions(-) diff --git a/init/property_service.cpp b/init/property_service.cpp index f9a94d73a..82f5b8c5d 100644 --- a/init/property_service.cpp +++ b/init/property_service.cpp @@ -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);