Disable the Live Caption feature if the feature flag is disabled.
This CL disables the Live Caption feature if the kLiveCaption feature flag is disabled. Previously, the Live Caption feature would only be enabled if the kLiveCaptionEnabled user pref is enabled, which can only be enabled if the kLiveCaption feature is enabled. The feature should be completely off if the kLiveCaption feature is disabled, even if the feature and pref were previously enabled. Bug: 1121296 Change-Id: I6f642f025d69b411223cc137e999d7980d5d4917 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2372734Reviewed-by:Joshua Pawlicki <waffles@chromium.org> Reviewed-by:
Robert Sesek <rsesek@chromium.org> Commit-Queue: Evan Liu <evliu@google.com> Cr-Commit-Position: refs/heads/master@{#801424}
Showing
Please register or sign in to comment