From 89bb88f61cc185ece678d6921803b373ce5fd2e7 Mon Sep 17 00:00:00 2001 From: "Tadashi G. Takaoka" Date: Tue, 19 Jul 2011 18:13:22 -0700 Subject: [PATCH] Revert "Keep keyboard layout while orientation change" This reverts commit 8ebbe03fed22da197fcdf152df8b815d9d816ac2. Bug: 5037466 --- .../src/com/android/inputmethod/keyboard/KeyboardSwitcher.java | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/java/src/com/android/inputmethod/keyboard/KeyboardSwitcher.java b/java/src/com/android/inputmethod/keyboard/KeyboardSwitcher.java index bb21d7a63..7ad947c67 100644 --- a/java/src/com/android/inputmethod/keyboard/KeyboardSwitcher.java +++ b/java/src/com/android/inputmethod/keyboard/KeyboardSwitcher.java @@ -152,8 +152,7 @@ public class KeyboardSwitcher implements SharedPreferences.OnSharedPreferenceCha boolean voiceButtonOnPrimary) { mSwitchState = SWITCH_STATE_ALPHA; try { - final boolean isSymbols = (mCurrentId != null) ? mCurrentId.isSymbolsKeyboard() : false; - loadKeyboardInternal(attribute, voiceKeyEnabled, voiceButtonOnPrimary, isSymbols); + loadKeyboardInternal(attribute, voiceKeyEnabled, voiceButtonOnPrimary, false); } catch (RuntimeException e) { // Get KeyboardId to record which keyboard has been failed to load. final KeyboardId id = getKeyboardId(attribute, false);