System_Property_Get: Set default path for build.prop
Change-Id: I5f4fa7150c025033eca29bf4fe3fe3f908f18e5e
diff --git a/twrp-functions.cpp b/twrp-functions.cpp
index a53ccc0..350d840 100755
--- a/twrp-functions.cpp
+++ b/twrp-functions.cpp
@@ -855,7 +855,7 @@
}
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) {