From 2dab70d83c33108881a944caad3db93804148e8c Mon Sep 17 00:00:00 2001 From: Mauronofrio Matarrese Date: Tue, 5 Mar 2019 02:22:26 +0100 Subject: Add path for time and date fix This will add another path where looking for ats_* files This is needed on some devices like OnePlus 6/6T Change-Id: I9ac7cdd05ddc80f3e269efda96be2b7712d68af0 --- twrp-functions.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/twrp-functions.cpp b/twrp-functions.cpp index 263593420..00a57a749 100644 --- a/twrp-functions.cpp +++ b/twrp-functions.cpp @@ -922,7 +922,7 @@ void TWFunc::Fixup_Time_On_Boot(const string& time_paths /* = "" */) std::vector paths; // space separated list of paths if (time_paths.empty()) { - paths = Split_String("/data/system/time/ /data/time/", " "); + paths = Split_String("/data/system/time/ /data/time/ /data/vendor/time/", " "); if (!PartitionManager.Mount_By_Path("/data", false)) return; } else { -- cgit v1.2.3