frameworks/base/core/java/android/util/NtpTrustedTime.java
在这里添加更多的ip地址来满足获取NTP时间的同步。backupNtpServers数组里面,添加
我这里多添加的值,以确保主板时间同步正确:
String[] backupNtpServers=new String[]{
"tw.pool.ntp.org",
"time.nist.gov",
"time-a.nist,gov",
"ntp1.aliyun.com",
"ntp2.aliyun.com",
"ntp3.aliyun.com",
"ntp-sz.chl.la",
"3.cn.pool.ntp.org",
"asia.pool.ntp.org",
"cn.pool.ntp.org",
"sg.pool.ntp.org",
"jp.pool.ntp.org",
"hk.pool.ntp.org",
"s2g.time.edu.cn",
"oceania.pool.ntp.org",
"south-america.pool.ntp.org",
"north-america.pool.ntp.org"
};



