forked from extern/Unexpected-Keyboard
Reset keyboard when finishing
This may cause key repeat continuing for a bit after the keyboard closes.
This commit is contained in:
parent
743b10165c
commit
f287ff2e09
@ -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)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user