[CrOS MultiDevice] Reflect policy prohibition in Settings.
This CL shows a policy indicator and a disabled toggle when the suite or a specific feature (on the subpage) is prohibited by policy. Note that some unrealistic cases are not handled. This includes: 1) suite is prohibited but the mode (a.k.a. host status) is something other than "no eligible hosts" 2) the user is in the subpage but the suite is prohibited by policy. Screenshots: Suite prohibited by policy (main Settings UI page): http://screen/EbYef2RFFrf Individual feature prohibited by policy (subpage): http://screen/D3iqHQCW4B3 Bug: 870127 Change-Id: Iebeed37255e4a3dffb4f1b6376acfe5a9c26cc2d Reviewed-on: https://chromium-review.googlesource.com/1208900Reviewed-by:Hector Carmona <hcarmona@chromium.org> Reviewed-by:
Jeremy Klein <jlklein@chromium.org> Commit-Queue: Jordy Greenblatt <jordynass@chromium.org> Cr-Commit-Position: refs/heads/master@{#589303}
Showing
Please register or sign in to comment