Revert "Keep keyboard layout while orientation change"

This reverts commit 8ebbe03fed.

Bug: 5037466
main
Tadashi G. Takaoka 2011-07-19 18:13:22 -07:00
parent 40f7efc172
commit 89bb88f61c
1 changed files with 1 additions and 2 deletions

View File

@ -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);