Skip to content
Snippets Groups Projects
Commit e56e88be authored by Ken Wakasa's avatar Ken Wakasa
Browse files

A follow up to I830de4d1

bug: 5130446
Change-Id: Ib1a4603590387c30be7555b8386f5e0607ea7249
parent 89fdb827
No related branches found
No related tags found
No related merge requests found
......@@ -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();
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment