[Android system] The problem of connecting to wifi for too long to update

更新NTP server   (网络时间协议服务器):

 

diff --git a/frameworks/base/core/res/res/values/config.xml b/frameworks/base/core/res/res/values/config.xml
index f119866..901350d 100755
--- a/frameworks/base/core/res/res/values/config.xml
+++ b/frameworks/base/core/res/res/values/config.xml
@@ -2068,7 +2068,7 @@
     <bool name="config_actionMenuItemAllCaps">true</bool>
 
     <!-- Remote server that can provide NTP responses. -->
-    <string translatable="false" name="config_ntpServer">time.android.com</string>
+    <string translatable="false" name="config_ntpServer">cn.pool.ntp.org</string>
     <!-- Normal polling frequency in milliseconds -->
     <integer name="config_ntpPollingInterval">86400000</integer>

-----Update 2020.09.25

I am here on mtk, the default [persist.sys.zone] in build.prop: [GMT]

This is the default in the code, now it should be set to Asia/Shanghai

Inside mtk: 

             

 

Guess you like

Origin blog.csdn.net/John_chaos/article/details/108484599