Convert CharSequence toString for the fallback Remote Input History view.

We already converted toString() when sending the intent.  This is just affecting the visual display of notifications which respond to Remote Input by cancelling the notification, rather than updating it.

Fixes: 190849724
Test: manual
Change-Id: If6869543d8e4d85b1fbe2826c234d70e6bdc7cc0
This commit is contained in:
Jeff DeCew
2021-06-11 16:45:42 -04:00
parent 6c9c6cb626
commit 18c79c12c5

View File

@@ -336,7 +336,7 @@ public class RemoteInputView extends LinearLayout implements View.OnClickListene
RemoteInput.addResultsToIntent(mRemoteInputs, fillInIntent,
results);
mEntry.remoteInputText = mEditText.getText();
mEntry.remoteInputText = mEditText.getText().toString();
// TODO(b/188646667): store attachment to entry
mEntry.remoteInputUri = null;
mEntry.remoteInputMimeType = null;