Livid
405.34D
549.2D
V2EX  ›  Android

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

  •  
  •   Livid ·
    PRO
    · Sep 4, 2016 · 17277 views
    This topic created in 3720 days ago, the information mentioned may be changed or developed.

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

    谢谢!

    adb shell "settings get global captive_portal_use_https"
    

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

    11 replies  •  2016-09-06 15:15:36 +08:00
    dexbol
    dexbol
    Sep 4, 2016
    1
    null
    lhbc
    lhbc
    Sep 4, 2016
    2
    CM 13 最新 snapshot 版(Android 6.0.1)
    Android 7.0 NPD90G

    都是返回 null
    int64ago
    int64ago
    Sep 4, 2016
    3
    null
    dexbol
    dexbol
    Sep 4, 2016
    4
    BTW, generate_204 那个现在返回 301
    Livid
    Livid
    MOD
    OP
    PRO
    Sep 4, 2016❤️1
    5
    @dexbol generate_204 这个问题我们会在 2 个小时内提供一个替代解决方案,请稍等。
    Livid
    Livid
    MOD
    OP
    PRO
    Sep 4, 2016
    6
    zmz125000
    zmz125000
    Sep 4, 2016
    7
    我这里返回 null, 但是用不支持 https 的 Captive Portal Server (g.cn, connect.rom.miui.com) 会出现感叹号,(204.ustclug.org, http204.sinaapp.com) 正常。
    Nexus 5X NRD90M
    Livid
    Livid
    MOD
    OP
    PRO
    Sep 4, 2016
    8
    @zmz125000 谢谢。 V2EX 新提供的 captive.v2ex.co 是同时支持 http/https 的。
    zmz125000
    zmz125000
    Sep 4, 2016
    9
    我手动打开了 adb shell "settings put global captive_portal_detection_enabled 1"
    原来怎么弄都没有感叹号,当时没有去确认 7.0 下是不是默认关闭的。
    EricInBj
    EricInBj
    Sep 6, 2016
    10
    null
    Nexus 6p NRD90M
    EricInBj
    EricInBj
    Sep 6, 2016
    11
    @zmz125000 g.cn 似乎是证书不匹配, google.cn 可以
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Privacy   ·   Solana   ·   932 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 29ms · UTC 19:51 · PVG 03:51 · LAX 11:51 · JFK 14:51
    ♥ Do have faith in what you're doing.