Merge "Make an ending IME animation clean up old inputs for the same entry" into tm-qpr-dev
This commit is contained in:
@@ -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);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user