Reset keyboard shift lock state when new keyboard is ready

Bug: 5099761
Change-Id: I00ad796ea43a07ae13e71224b7a081ee2f160f1a
This commit is contained in:
Tadashi G. Takaoka 2011-08-03 09:24:13 -07:00
parent eedfef0308
commit 73c02390d3

View file

@ -364,6 +364,7 @@ public class KeyboardSwitcher implements SharedPreferences.OnSharedPreferenceCha
}
keyboard.onAutoCorrectionStateChanged(mIsAutoCorrectionActive);
keyboard.setShiftLocked(false);
keyboard.setShifted(false);
// If the cached keyboard had been switched to another keyboard while the language was
// displayed on its spacebar, it might have had arbitrary text fade factor. In such case,