[CrOS MultiDevice] Update "feature states" computations.
This CL adds functionality for two edge cases:
(1) If all sub-features are prohibited by policy, the Better Together
suite should also be prohibited.
(2) If a feature would have been enabled except that the suite as a
whole is disabled, the feature is now in the
kUnavailableSuiteDisabled state.
Note: This CL also renames the kDisabledByPolicy enum value to be
kProhibitedByPolicy instead for clarity.
Bug: 870113, 824568
Change-Id: I11bdfcfbfd3313490599831606d31cb5ffa22983
Reviewed-on: https://chromium-review.googlesource.com/1187834
Commit-Queue: Kyle Horimoto <khorimoto@chromium.org>
Reviewed-by:
Tommy Li <tommycli@chromium.org>
Reviewed-by:
Daniel Cheng <dcheng@chromium.org>
Reviewed-by:
Ryan Hansberry <hansberry@chromium.org>
Cr-Commit-Position: refs/heads/master@{#586095}
Showing
Please register or sign in to comment