diff options
| author | Jules Aguillon | 2024-06-16 22:08:07 +0200 |
|---|---|---|
| committer | Jules Aguillon | 2024-06-16 22:20:14 +0200 |
| commit | c01b289eaf37d1d446a7bbaf75beb968f90fa975 (patch) | |
| tree | 43b59417371a91165f1edc39b266c9ffe5a998f2 /srcs/juloo.keyboard2 | |
| parent | a7b79022e5a81bc15b1865bfb40f5922b52c5244 (diff) | |
| download | unexpected-keyboard-c01b289eaf37d1d446a7bbaf75beb968f90fa975.tar.gz unexpected-keyboard-c01b289eaf37d1d446a7bbaf75beb968f90fa975.zip | |
Don't change input view when configuration changes
This doesn't seem necessary and won't play well with eventual keys that
change the configuration.
Diffstat (limited to 'srcs/juloo.keyboard2')
| -rw-r--r-- | srcs/juloo.keyboard2/Keyboard2.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/srcs/juloo.keyboard2/Keyboard2.java b/srcs/juloo.keyboard2/Keyboard2.java index 0b834d7..c332375 100644 --- a/srcs/juloo.keyboard2/Keyboard2.java +++ b/srcs/juloo.keyboard2/Keyboard2.java @@ -223,6 +223,7 @@ public class Keyboard2 extends InputMethodService { _keyboardView = (Keyboard2View)inflate_view(R.layout.keyboard); _emojiPane = null; + setInputView(_keyboardView); } _keyboardView.reset(); } @@ -345,7 +346,6 @@ public class Keyboard2 extends InputMethodService public void onSharedPreferenceChanged(SharedPreferences _prefs, String _key) { refresh_config(); - setInputView(_keyboardView); _keyboardView.setKeyboard(current_layout()); } |
