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.
This commit is contained in:
Jules Aguillon 2024-06-16 22:08:07 +02:00
parent a7b79022e5
commit c01b289eaf

View File

@ -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());
}