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: Ib6e746b1516ef1b4c981807a9b8785a046ba50e0main
parent
530f5d7e15
commit
56518d424d
|
@ -149,7 +149,6 @@ public class KeyboardSwitcher implements KeyboardState.SwitchActions,
|
||||||
if (mainKeyboardId.isPhoneKeyboard()) {
|
if (mainKeyboardId.isPhoneKeyboard()) {
|
||||||
mState.setSymbolsKeyboard();
|
mState.setSymbolsKeyboard();
|
||||||
}
|
}
|
||||||
updateShiftState();
|
|
||||||
}
|
}
|
||||||
|
|
||||||
public void saveKeyboardState() {
|
public void saveKeyboardState() {
|
||||||
|
|
Loading…
Reference in New Issue