[OsSettingsLanguages] Disable removing last component input method
Logic is partly carried over from manage_input_methods.js The original CL that added this logic doesn't explain much https://crrev.com/1908483003. This CL https://crrev.com/c/1109441 suggests component IMEs are pre-installed system IMEs, which makes sense to ensure at least one is enabled in case the third-party one get removed and users can no longer type. Button disabled view: http://screen/3qQgdYTc6UQBn8Y Bug: 1113439 Change-Id: I4d07687a8ac0a2c705d8e83bfb938909149a2723 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2413677 Commit-Queue: My Nguyen <myy@chromium.org> Reviewed-by:Kyle Horimoto <khorimoto@chromium.org> Reviewed-by:
Regan Hsu <hsuregan@chromium.org> Cr-Commit-Position: refs/heads/master@{#807843}
Showing
Please register or sign in to comment