去掉 AOSP wifi 上的叹号和X号
2017-09-19 本文已影响0人
小爨
Android 7.0以后的的版本:
adb shell "settings put global captive_portal_http_url http://www.google.cn/generate_204"
adb shell "settings put global captive_portal_https_url https://www.google.cn/generate_204"
android 7.0 之前的版本:
adb shell "settings put global captive_portal_serverhttp://www.google.cn/generate_204"
还可以可以输入如下命令, 禁止检测网络连接状态:
adb shell settings put global captive_portal_detection_enabled 1
输入如下的命令查看所支持的所有选项:
adb shell settings list global