From 56518d424db4ac9651184ce46ded00ab2d255cab Mon Sep 17 00:00:00 2001 From: "Tadashi G. Takaoka" Date: Mon, 23 Jan 2012 12:47:03 +0900 Subject: [PATCH] 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 --- java/src/com/android/inputmethod/keyboard/KeyboardSwitcher.java | 1 - 1 file changed, 1 deletion(-) diff --git a/java/src/com/android/inputmethod/keyboard/KeyboardSwitcher.java b/java/src/com/android/inputmethod/keyboard/KeyboardSwitcher.java index 4967a5e80..cb80d052e 100644 --- a/java/src/com/android/inputmethod/keyboard/KeyboardSwitcher.java +++ b/java/src/com/android/inputmethod/keyboard/KeyboardSwitcher.java @@ -149,7 +149,6 @@ public class KeyboardSwitcher implements KeyboardState.SwitchActions, if (mainKeyboardId.isPhoneKeyboard()) { mState.setSymbolsKeyboard(); } - updateShiftState(); } public void saveKeyboardState() {