Reset keyboard when finishing

This may cause key repeat continuing for a bit after the keyboard
closes.
This commit is contained in:
Jules Aguillon 2021-05-01 22:47:22 +02:00
parent 743b10165c
commit f287ff2e09

View File

@ -111,6 +111,13 @@ public class Keyboard2 extends InputMethodService
refreshSubtype(subtype);
}
@Override
public void onFinishInputView(boolean finishingInput)
{
super.onFinishInputView(finishingInput);
_keyboardView.reset();
}
@Override
public void onSharedPreferenceChanged(SharedPreferences sharedPreferences, String key)
{