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

Commit 41125ee8 authored by Justin Weir's avatar Justin Weir Committed by Android (Google) Code Review
Browse files

Merge "Make an ending IME animation clean up old inputs for the same entry" into tm-qpr-dev

parents c015850b 910fe6f8
Loading
Loading
Loading
Loading
+2 −1
Original line number Original line Diff line number Diff line
@@ -303,7 +303,8 @@ public class RemoteInputView extends LinearLayout implements View.OnClickListene
                    mEntry.mRemoteEditImeVisible = editTextRootWindowInsets != null
                    mEntry.mRemoteEditImeVisible = editTextRootWindowInsets != null
                            && editTextRootWindowInsets.isVisible(WindowInsets.Type.ime());
                            && editTextRootWindowInsets.isVisible(WindowInsets.Type.ime());
                    if (!mEntry.mRemoteEditImeVisible && !mEditText.mShowImeOnInputConnection) {
                    if (!mEntry.mRemoteEditImeVisible && !mEditText.mShowImeOnInputConnection) {
                        mController.removeRemoteInput(mEntry, mToken);
                        // Pass null to ensure all inputs are cleared for this entry b/227115380
                        mController.removeRemoteInput(mEntry, null);
                    }
                    }
                }
                }
            }
            }