提交 64b6f1b1 编写于 作者: J Jason Simmons 提交者: GitHub

Disable the fullscreen text entry mode on Android (#3131)

This mode requires that our editor implementation provide ExtractedText,
which we currently do not support

See https://github.com/flutter/flutter/issues/4899
上级 be22cacc
......@@ -67,7 +67,7 @@ public class KeyboardViewState {
return null;
outAttrs.inputType = inputTypeFromKeyboardType(mConfiguration.type);
outAttrs.actionLabel = mConfiguration.actionLabel;
outAttrs.imeOptions = EditorInfo.IME_ACTION_DONE;
outAttrs.imeOptions = EditorInfo.IME_ACTION_DONE | EditorInfo.IME_FLAG_NO_FULLSCREEN;
InputConnectionAdaptor connection = new InputConnectionAdaptor(mView, mClient);
if (mIncomingState != null) {
outAttrs.initialSelStart = mIncomingState.selectionBase;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册