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
diff --git a/twrp-functions.cpp b/twrp-functions.cpp
index 2635934..00a57a7 100644
--- a/twrp-functions.cpp
+++ b/twrp-functions.cpp
@@ -922,7 +922,7 @@
std::vector<std::string> 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 {