summaryrefslogtreecommitdiffstats
path: root/twrp-functions.hpp
diff options
context:
space:
mode:
authorEthan Yonker <dees_troy@teamw.in>2014-02-08 04:43:20 +0100
committerEthan Yonker <dees_troy@teamw.in>2014-02-08 04:43:20 +0100
commitb555789d44947db9bd4fb443ea2e41fe4dc8e6a7 (patch)
tree5f06a46cdb86e4be22b5462024a01a99774ae850 /twrp-functions.hpp
parentMerge "Additional mount function call without mount options" into android-4.4 (diff)
downloadandroid_bootable_recovery-b555789d44947db9bd4fb443ea2e41fe4dc8e6a7.tar
android_bootable_recovery-b555789d44947db9bd4fb443ea2e41fe4dc8e6a7.tar.gz
android_bootable_recovery-b555789d44947db9bd4fb443ea2e41fe4dc8e6a7.tar.bz2
android_bootable_recovery-b555789d44947db9bd4fb443ea2e41fe4dc8e6a7.tar.lz
android_bootable_recovery-b555789d44947db9bd4fb443ea2e41fe4dc8e6a7.tar.xz
android_bootable_recovery-b555789d44947db9bd4fb443ea2e41fe4dc8e6a7.tar.zst
android_bootable_recovery-b555789d44947db9bd4fb443ea2e41fe4dc8e6a7.zip
Diffstat (limited to 'twrp-functions.hpp')
-rw-r--r--twrp-functions.hpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/twrp-functions.hpp b/twrp-functions.hpp
index 587d7725e..50bfe2c3c 100644
--- a/twrp-functions.hpp
+++ b/twrp-functions.hpp
@@ -74,6 +74,7 @@ public:
static int Try_Decrypting_File(string fn, string password); // -1 for some error, 0 for failed to decrypt, 1 for decrypted, 3 for decrypted and found gzip format
static bool Try_Decrypting_Backup(string Restore_Path, string Password); // true for success, false for failed to decrypt
static int Wait_For_Child(pid_t pid, int *status, string Child_Name); // Waits for pid to exit and checks exit status
+ static string System_Property_Get(string Prop_Name); // Returns value of Prop_Name from reading /system/build.prop
static string Get_Current_Date(void); // Returns the current date in ccyy-m-dd--hh-nn-ss format
static void Auto_Generate_Backup_Name(); // Populates TW_BACKUP_NAME with a backup name based on current date and ro.build.display.id from /system/build.prop
static void Fixup_Time_On_Boot(); // Fixes time on devices which need it