Skip to content

Commit

Permalink
System_Property_Get: Set default path for build.prop
Browse files Browse the repository at this point in the history
Change-Id: I5f4fa7150c025033eca29bf4fe3fe3f908f18e5e
  • Loading branch information
CaptainThrowback committed Jan 5, 2022
1 parent 546ebc3 commit 0863586
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion twrp-functions.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down

0 comments on commit 0863586

Please sign in to comment.