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

Commit 6f9d7ee6 authored by sanryhuang's avatar sanryhuang
Browse files

Fix User unable to view the keyboard input

Use extracted mode instead and go fullscreen when replying for a message through notification in landscape mode

Test: manual test
Test: atest
Change-Id: I2e39ba782ad2468169108b01b3deaa554eb25463
Fixes:73275201
parent 790d1a0e
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
@@ -561,6 +561,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();