diff options
author | Jeff DeCew <jeffdq@google.com> | 2021-06-11 16:45:42 -0400 |
---|---|---|
committer | Jeff DeCew <jeffdq@google.com> | 2021-06-11 16:47:09 -0400 |
commit | 18c79c12c510d12f36a1614fe85814e1fa26f536 (patch) | |
tree | 7e811f69c3451e12f2e4b74f4b1a4d6b112478b3 | |
parent | 6c9c6cb626f16c491131e73fd6957d261edf2533 (diff) |
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
-rw-r--r-- | packages/SystemUI/src/com/android/systemui/statusbar/policy/RemoteInputView.java | 2 |
1 files changed, 1 insertions, 1 deletions
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 7022fb13d2cd..9cb503d6d706 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; |