Chromium Code Reviews
DescriptionRemove input methods when removing languages
When a user disables a language, we should remove input methods for that
language.
We don't want to remove input methods that *also* support a *different*
enabled language, because those could still be desirable. The bug is that
this check was incorrect, creating false positives where we ought to
remove an input method, but don't.
Options does this correctly. MD Settings has a logical bug: any input method
with more than one *supported* language doesn't get removed when removing the
last *enabled* language that it supports.
The fix is trivial and I added a test that would have caught the bug.
BUG=none
TEST=CrSettingsLanguages
CQ_INCLUDE_TRYBOTS=master.tryserver.chromium.linux:closure_compilation
Committed: https://crrev.com/749d9ceb83b5c75012e31b0d0c1e3ea7ea8a60f2
Cr-Commit-Position: refs/heads/master@{#412967}
Patch Set 1 #
Dependent Patchsets: Messages
Total messages: 11 (6 generated)
|
|||||||||||||||||||||||||||||||||||||