From 73c02390d31bbf32b78763db66b04004666fb5a3 Mon Sep 17 00:00:00 2001 From: "Tadashi G. Takaoka" Date: Wed, 3 Aug 2011 09:24:13 -0700 Subject: [PATCH] Reset keyboard shift lock state when new keyboard is ready Bug: 5099761 Change-Id: I00ad796ea43a07ae13e71224b7a081ee2f160f1a --- java/src/com/android/inputmethod/keyboard/KeyboardSwitcher.java | 1 + 1 file changed, 1 insertion(+) diff --git a/java/src/com/android/inputmethod/keyboard/KeyboardSwitcher.java b/java/src/com/android/inputmethod/keyboard/KeyboardSwitcher.java index 2d08abc19..427b35723 100644 --- a/java/src/com/android/inputmethod/keyboard/KeyboardSwitcher.java +++ b/java/src/com/android/inputmethod/keyboard/KeyboardSwitcher.java @@ -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,