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

main
Tadashi G. Takaoka 2011-08-03 15:08:28 -07:00 committed by Android (Google) Code Review
commit 99debd7519
1 changed files with 1 additions and 0 deletions

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,