admin管理员组

文章数量:1530517

Android 7及之后的版本输入如下两个命令:
adb shell “settings put global captive_portal_http_url http://www.google/generate_204”
adb shell “settings put global captive_portal_https_url https://www.google/generate_204”

7之前的版本运行如下的命令:
adb shell “settings put global captive_portal_serverhttp://www.google/generate_204”

可以输入如下命令, 禁止检测网络连接状态.
adb shell settings put global captive_portal_detection_enabled 0

可以输入如下命令, 打开检测网络连接状态.
adb shell settings put global captive_portal_detection_enabled 1

可以输入如下的命令查看所支持的所有选项:
adb shell settings list global

本文标签: 惊叹号网络android