`
biAji
  • 浏览: 12222 次
  • 来自: ...
文章分类
社区版块
存档分类
最新评论

Toggle Dns Check到底干了什么

阅读更多
被这个设置困扰了很久很久了。今天总算心血来潮。挖掘了一下,得到的答案如下: 主要关键点在 frameworks/base/telephony/java/com/android/internal/telephony/gsm/PdpConnection.java 中 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 if (NULL_IP.equals(dnsServers[0]) && NULL_IP.equals(dnsServers[1]) && !((GSMPhone) phone).isDnsCheckDisabled()) { // Work around a race condition where QMI does not fill in DNS: // Deactivate PDP and let DataConnectionTracker retry. // Do not apply the race condition workaround for MMS APN // if Proxy is an IP-address. // Otherwise, the default APN will [...]
分享到:
评论

相关推荐

Global site tag (gtag.js) - Google Analytics