From c01b289eaf37d1d446a7bbaf75beb968f90fa975 Mon Sep 17 00:00:00 2001 From: Jules Aguillon Date: Sun, 16 Jun 2024 22:08:07 +0200 Subject: 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. --- srcs/juloo.keyboard2/Keyboard2.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'srcs') 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()); } -- cgit v1.2.3