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

Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/20794576

Change-Id: I6e24d16034bf331792b2a524b6acce41e8da2668
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
This commit is contained in:
Justin Weir
2023-01-23 15:24:28 +00:00
committed by Automerger Merge Worker

View File

@@ -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);
} }
} }
} }