From d0e38bc2f4fc8b19f4abaf80a231968d37cd5edb Mon Sep 17 00:00:00 2001 From: Vojtech Bocek Date: Mon, 3 Feb 2014 23:36:57 +0100 Subject: Load RTC offset on Qualcomm Krait chips, fixes the broken time & date Signed-off-by: Vojtech Bocek Change-Id: I04ad07f3e6be961003e063be8c648e191e2f9431 --- twrp-functions.hpp | 1 + 1 file changed, 1 insertion(+) (limited to 'twrp-functions.hpp') diff --git a/twrp-functions.hpp b/twrp-functions.hpp index 1050f5644..eb88ae2f3 100644 --- a/twrp-functions.hpp +++ b/twrp-functions.hpp @@ -75,6 +75,7 @@ public: static int Wait_For_Child(pid_t pid, int *status, string Child_Name); // Waits for pid to exit and checks exit status 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 private: static void Copy_Log(string Source, string Destination); -- cgit v1.2.3