forked from extern/Unexpected-Keyboard
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:
parent
a7b79022e5
commit
c01b289eaf
@ -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());
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user