From 18c79c12c510d12f36a1614fe85814e1fa26f536 Mon Sep 17 00:00:00 2001 From: Jeff DeCew Date: Fri, 11 Jun 2021 16:45:42 -0400 Subject: [PATCH] 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 --- .../com/android/systemui/statusbar/policy/RemoteInputView.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/SystemUI/src/com/android/systemui/statusbar/policy/RemoteInputView.java b/packages/SystemUI/src/com/android/systemui/statusbar/policy/RemoteInputView.java index 7022fb13d2cd9..9cb503d6d7069 100644 --- a/packages/SystemUI/src/com/android/systemui/statusbar/policy/RemoteInputView.java +++ b/packages/SystemUI/src/com/android/systemui/statusbar/policy/RemoteInputView.java @@ -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;