• Kyle Horimoto's avatar
    [CrOS MultiDevice] Update Instant Tethering item (multi-device subpage). · 6b1ff066
    Kyle Horimoto authored
    Before this CL, the multi-device settings displayed Instant Tethering
    settings using exactly the same mechanism used by the network settings.
    However, this is undesirable because (1) it does not display the
    "prohibited" icon when a device administrator prohibits the feature and
    (2) it does not display the correct text as a label for the item.
    
    This CL changes the settings subpage to use the same infrastructure as
    the rest of the features. As a result, this also requires that
    TetherService be updated; previously, TetherService was responsible for
    changing the "enabled" user pref itself, but now it needs to support that
    mode as well as responding to changes of the "enabled" pref.
    
    Bug: 896324, 884830
    Change-Id: I083a8e8e07725130058db35ee540dd6ad733d421
    Reviewed-on: https://chromium-review.googlesource.com/c/1297594Reviewed-by: default avatarTommy Li <tommycli@chromium.org>
    Reviewed-by: default avatarJeremy Klein <jlklein@chromium.org>
    Commit-Queue: Kyle Horimoto <khorimoto@chromium.org>
    Cr-Commit-Position: refs/heads/master@{#602199}
    6b1ff066
multidevice_subpage.html 5.33 KB