Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 2d6d5e54 authored by Selim Cinek's avatar Selim Cinek Committed by android-build-merger
Browse files

Merge "Fix User unable to view the keyboard input" into pi-dev

am: dca90312

Change-Id: I50997ffc0e0b19160b2d13c2fb8617d815bd0e02
parents 93b2a2ef dca90312
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -42,7 +42,7 @@
            android:singleLine="true"
            android:ellipsize="start"
            android:inputType="textShortMessage|textAutoCorrect|textCapSentences"
            android:imeOptions="actionSend|flagNoExtractUi|flagNoFullscreen" />
            android:imeOptions="actionSend" />

    <FrameLayout
            android:layout_width="wrap_content"
+5 −0
Original line number Diff line number Diff line
@@ -565,6 +565,11 @@ public class RemoteInputView extends LinearLayout implements View.OnClickListene
        @Override
        public InputConnection onCreateInputConnection(EditorInfo outAttrs) {
            final InputConnection inputConnection = super.onCreateInputConnection(outAttrs);
            //if pinned, set imeOption to keep the behavior like in portrait.
            if (mRemoteInputView != null && mRemoteInputView.mEntry.row.isPinned()) {
                outAttrs.imeOptions |= EditorInfo.IME_FLAG_NO_EXTRACT_UI
                        | EditorInfo.IME_FLAG_NO_FULLSCREEN;
            }

            if (mShowImeOnInputConnection && inputConnection != null) {
                final InputMethodManager imm = InputMethodManager.getInstance();