diff options
author | 2011-08-18 21:44:36 +0900 | |
---|---|---|
committer | 2011-08-18 21:51:04 +0900 | |
commit | e56e88beffe7afee3b41da4697304e1f4c031787 (patch) | |
tree | 8faa8eb38efced4239a4fafebedaa9684df6148d /java/src | |
parent | 89fdb827532f43a7121b200dc9a7c72815fb45fd (diff) | |
download | latinime-e56e88beffe7afee3b41da4697304e1f4c031787.tar.gz latinime-e56e88beffe7afee3b41da4697304e1f4c031787.tar.xz latinime-e56e88beffe7afee3b41da4697304e1f4c031787.zip |
A follow up to I830de4d1
bug: 5130446
Change-Id: Ib1a4603590387c30be7555b8386f5e0607ea7249
Diffstat (limited to 'java/src')
-rw-r--r-- | java/src/com/android/inputmethod/keyboard/KeyboardSwitcher.java | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/java/src/com/android/inputmethod/keyboard/KeyboardSwitcher.java b/java/src/com/android/inputmethod/keyboard/KeyboardSwitcher.java index 21477a992..9937937ff 100644 --- a/java/src/com/android/inputmethod/keyboard/KeyboardSwitcher.java +++ b/java/src/com/android/inputmethod/keyboard/KeyboardSwitcher.java @@ -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(); } |