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
main
Yohei Yukawa 2014-04-30 20:20:05 +09:00
parent 1690992d1b
commit 60003d5114
1 changed files with 1 additions and 1 deletions

View File

@ -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 {