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:
@@ -778,8 +778,8 @@ public class KP2AKeyboard extends InputMethodService
|
|||||||
|
|
||||||
if ((editorInfo.imeOptions&(EditorInfo.IME_MASK_ACTION|EditorInfo.IME_FLAG_NO_ENTER_ACTION)) == EditorInfo.IME_ACTION_NEXT)
|
if ((editorInfo.imeOptions&(EditorInfo.IME_MASK_ACTION|EditorInfo.IME_FLAG_NO_ENTER_ACTION)) == EditorInfo.IME_ACTION_NEXT)
|
||||||
{
|
{
|
||||||
Log.d("KP2AK", "action is NEXT");
|
Log.d("KP2AK", "action is NEXT ");
|
||||||
getCurrentInputConnection().performEditorAction(editorInfo.actionId);
|
getCurrentInputConnection().performEditorAction(EditorInfo.IME_ACTION_NEXT);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user