A follow up to I830de4d1
bug: 5130446 Change-Id: Ib1a4603590387c30be7555b8386f5e0607ea7249
This commit is contained in:
parent
89fdb82753
commit
e56e88beff
1 changed files with 2 additions and 3 deletions
|
@ -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();
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue