commit | 56518d424db4ac9651184ce46ded00ab2d255cab | [log] [tgz] |
---|---|---|
author | Tadashi G. Takaoka <takaoka@google.com> | Mon Jan 23 12:47:03 2012 +0900 |
committer | Tadashi G. Takaoka <takaoka@google.com> | Mon Jan 23 12:47:03 2012 +0900 |
tree | d6fa846f35e2e23f2784badd30a322881610590a | |
parent | 530f5d7e155011ff4fa520002c68acb78b195497 [diff] |
Get rid of useless updateShiftState Because KeyboardState.onLoadKeyboard will invoke SwitcherActions.requestUpdateShiftState eventually, the calling updateShiftState at the end of KeyboardSwitcher.onLoadKeyboard is useless. Change-Id: Ib6e746b1516ef1b4c981807a9b8785a046ba50e0
diff --git a/java/src/com/android/inputmethod/keyboard/KeyboardSwitcher.java b/java/src/com/android/inputmethod/keyboard/KeyboardSwitcher.java index 4967a5e..cb80d05 100644 --- a/java/src/com/android/inputmethod/keyboard/KeyboardSwitcher.java +++ b/java/src/com/android/inputmethod/keyboard/KeyboardSwitcher.java
@@ -149,7 +149,6 @@ if (mainKeyboardId.isPhoneKeyboard()) { mState.setSymbolsKeyboard(); } - updateShiftState(); } public void saveKeyboardState() {