关于 Android 7.0 的 global captive_server_use_https 设置的默认值

2016-09-04 21:10:58 +08:00
 Livid

方便运行 adb 的同学能不能看一下这个在你们的 7.0 系统上的输出结果?

谢谢!

adb shell "settings get global captive_portal_use_https"

另外就是,这个设置在 7.0 以下的系统里是否存在?

8508 次点击
所在节点    Android
11 条回复
dexbol
2016-09-04 21:19:50 +08:00
null
lhbc
2016-09-04 21:20:08 +08:00
CM 13 最新 snapshot 版(Android 6.0.1)
Android 7.0 NPD90G

都是返回 null
int64ago
2016-09-04 21:20:59 +08:00
null
dexbol
2016-09-04 21:21:13 +08:00
BTW, generate_204 那个现在返回 301
Livid
2016-09-04 21:22:02 +08:00
@dexbol generate_204 这个问题我们会在 2 个小时内提供一个替代解决方案,请稍等。
Livid
2016-09-04 22:00:28 +08:00
zmz125000
2016-09-04 22:20:02 +08:00
我这里返回 null, 但是用不支持 https 的 Captive Portal Server (g.cn, connect.rom.miui.com) 会出现感叹号,(204.ustclug.org, http204.sinaapp.com) 正常。
Nexus 5X NRD90M
Livid
2016-09-04 22:20:59 +08:00
@zmz125000 谢谢。 V2EX 新提供的 captive.v2ex.co 是同时支持 http/https 的。
zmz125000
2016-09-04 22:22:53 +08:00
我手动打开了 adb shell "settings put global captive_portal_detection_enabled 1"
原来怎么弄都没有感叹号,当时没有去确认 7.0 下是不是默认关闭的。
EricInBj
2016-09-06 15:13:17 +08:00
null
Nexus 6p NRD90M
EricInBj
2016-09-06 15:15:36 +08:00
@zmz125000 g.cn 似乎是证书不匹配, google.cn 可以

这是一个专为移动设备优化的页面(即为了让你能够在 Google 搜索结果里秒开这个页面),如果你希望参与 V2EX 社区的讨论,你可以继续到 V2EX 上打开本讨论主题的完整版本。

https://www.v2ex.com/t/303883

V2EX 是创意工作者们的社区,是一个分享自己正在做的有趣事物、交流想法,可以遇见新朋友甚至新机会的地方。

V2EX is a community of developers, designers and creative people.

© 2021 V2EX