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
This commit is contained in:
Mauronofrio Matarrese
2019-03-05 02:23:58 +01:00
parent f9ec593f1e
commit 2dab70d83c
+1 -1
View File
@@ -922,7 +922,7 @@ void TWFunc::Fixup_Time_On_Boot(const string& time_paths /* = "" */)
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 {