From 086358633e68a4ddbd3a4068499cf681dd7ab34d Mon Sep 17 00:00:00 2001 From: Captain Throwback Date: Wed, 5 Jan 2022 18:58:19 -0500 Subject: [PATCH] System_Property_Get: Set default path for build.prop Change-Id: I5f4fa7150c025033eca29bf4fe3fe3f908f18e5e --- twrp-functions.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/twrp-functions.cpp b/twrp-functions.cpp index a53ccc02..350d840f 100755 --- a/twrp-functions.cpp +++ b/twrp-functions.cpp @@ -855,7 +855,7 @@ string TWFunc::Get_Current_Date() { } string TWFunc::System_Property_Get(string Prop_Name) { - return System_Property_Get(Prop_Name, PartitionManager, PartitionManager.Get_Android_Root_Path(), ""); + return System_Property_Get(Prop_Name, PartitionManager, PartitionManager.Get_Android_Root_Path(), "build.prop"); } string TWFunc::System_Property_Get(string Prop_Name, TWPartitionManager &PartitionManager, string Mount_Point, string prop_file_name) {