A follow up to I830de4d1

bug: 5130446
Change-Id: Ib1a4603590387c30be7555b8386f5e0607ea7249
main
Ken Wakasa 2011-08-18 21:44:36 +09:00
parent 89fdb82753
commit e56e88beff
1 changed files with 2 additions and 3 deletions

View File

@ -545,9 +545,8 @@ public class KeyboardSwitcher implements SharedPreferences.OnSharedPreferenceCha
private void setAutomaticTemporaryUpperCase() {
if (mKeyboardView == null) return;
final Keyboard keyboard = mKeyboardView.getKeyboard();
if (keyboard != null) {
keyboard.setAutomaticTemporaryUpperCase();
}
if (keyboard == null) return;
keyboard.setAutomaticTemporaryUpperCase();
mKeyboardView.invalidateAllKeys();
}