Merge "Reset keyboard shift lock state when new keyboard is ready"

This commit is contained in:
Tadashi G. Takaoka 2011-08-03 15:08:28 -07:00 committed by Android (Google) Code Review
commit 99debd7519

View file

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