explicitly use IME_ACTION_NEXT instead of relying on actionId which seems to be incorrect/not set on latest Chrome versions. Fixes #89.

This commit is contained in:
Philipp Crocoll
2017-12-06 05:34:29 +01:00
parent f7e8f25b70
commit 4a738990ae

View File

@@ -779,7 +779,7 @@ public class KP2AKeyboard extends InputMethodService
if ((editorInfo.imeOptions&(EditorInfo.IME_MASK_ACTION|EditorInfo.IME_FLAG_NO_ENTER_ACTION)) == EditorInfo.IME_ACTION_NEXT)
{
Log.d("KP2AK", "action is NEXT ");
getCurrentInputConnection().performEditorAction(editorInfo.actionId);
getCurrentInputConnection().performEditorAction(EditorInfo.IME_ACTION_NEXT);
}
}