Loading java/src/com/android/inputmethod/keyboard/KeyboardSwitcher.java +1 −2 Original line number Original line Diff line number Diff line Loading @@ -152,8 +152,7 @@ public class KeyboardSwitcher implements SharedPreferences.OnSharedPreferenceCha boolean voiceButtonOnPrimary) { boolean voiceButtonOnPrimary) { mSwitchState = SWITCH_STATE_ALPHA; mSwitchState = SWITCH_STATE_ALPHA; try { try { final boolean isSymbols = (mCurrentId != null) ? mCurrentId.isSymbolsKeyboard() : false; loadKeyboardInternal(attribute, voiceKeyEnabled, voiceButtonOnPrimary, false); loadKeyboardInternal(attribute, voiceKeyEnabled, voiceButtonOnPrimary, isSymbols); } catch (RuntimeException e) { } catch (RuntimeException e) { // Get KeyboardId to record which keyboard has been failed to load. // Get KeyboardId to record which keyboard has been failed to load. final KeyboardId id = getKeyboardId(attribute, false); final KeyboardId id = getKeyboardId(attribute, false); Loading Loading
java/src/com/android/inputmethod/keyboard/KeyboardSwitcher.java +1 −2 Original line number Original line Diff line number Diff line Loading @@ -152,8 +152,7 @@ public class KeyboardSwitcher implements SharedPreferences.OnSharedPreferenceCha boolean voiceButtonOnPrimary) { boolean voiceButtonOnPrimary) { mSwitchState = SWITCH_STATE_ALPHA; mSwitchState = SWITCH_STATE_ALPHA; try { try { final boolean isSymbols = (mCurrentId != null) ? mCurrentId.isSymbolsKeyboard() : false; loadKeyboardInternal(attribute, voiceKeyEnabled, voiceButtonOnPrimary, false); loadKeyboardInternal(attribute, voiceKeyEnabled, voiceButtonOnPrimary, isSymbols); } catch (RuntimeException e) { } catch (RuntimeException e) { // Get KeyboardId to record which keyboard has been failed to load. // Get KeyboardId to record which keyboard has been failed to load. final KeyboardId id = getKeyboardId(attribute, false); final KeyboardId id = getKeyboardId(attribute, false); Loading