diff options
author | 2014-04-30 20:20:05 +0900 | |
---|---|---|
committer | 2014-04-30 20:30:39 +0900 | |
commit | 60003d51142284b0cf247a2d29bd8844cfba08a4 (patch) | |
tree | 07e7522c3ab7bd92928ab034f7dad0bec07ac5e2 | |
parent | 1690992d1b5e37f21edb3040d5b939bd0f713efc (diff) | |
download | latinime-60003d51142284b0cf247a2d29bd8844cfba08a4.tar.gz latinime-60003d51142284b0cf247a2d29bd8844cfba08a4.tar.xz latinime-60003d51142284b0cf247a2d29bd8844cfba08a4.zip |
Fix the unintentional behavior change
I0188fa56cba8e introduced an unintentional behavior change
regarding the condition when the globe key is displayed
if LatinIME is running on KitKat or prior version.
With this CL, the previous behavior is back.
BUG: 12965588
BUG: 14426646
Change-Id: I112a327dce6ad2e40beb9a60d587e77b3954da82
-rw-r--r-- | java/src/com/android/inputmethod/keyboard/KeyboardSwitcher.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/java/src/com/android/inputmethod/keyboard/KeyboardSwitcher.java b/java/src/com/android/inputmethod/keyboard/KeyboardSwitcher.java index 0235fde38..0e667bc1c 100644 --- a/java/src/com/android/inputmethod/keyboard/KeyboardSwitcher.java +++ b/java/src/com/android/inputmethod/keyboard/KeyboardSwitcher.java @@ -123,7 +123,7 @@ public final class KeyboardSwitcher implements KeyboardState.SwitchActions { builder.setOptions( mSubtypeSwitcher.isShortcutImeEnabled(), settingsValues.mShowsVoiceInputKey, - mLatinIME.shouldSwitchToOtherInputMethods()); + mLatinIME.shouldShowLanguageSwitchKey()); mKeyboardLayoutSet = builder.build(); mCurrentSettingsValues = settingsValues; try { |