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:
+1
-1
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user