Merge "Tapping a notification closes inline reply, regardless of whether the user has typed anything." into udc-qpr-dev am: 2cabddb86f
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/24116566 Change-Id: I8a195d669a5c60ce4e88175de60721c5537ed55d Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
This commit is contained in:
@@ -215,8 +215,7 @@ class StatusBarNotificationActivityStarter implements NotificationActivityStarte
|
|||||||
public void onNotificationClicked(NotificationEntry entry, ExpandableNotificationRow row) {
|
public void onNotificationClicked(NotificationEntry entry, ExpandableNotificationRow row) {
|
||||||
mLogger.logStartingActivityFromClick(entry);
|
mLogger.logStartingActivityFromClick(entry);
|
||||||
|
|
||||||
if (mRemoteInputManager.isRemoteInputActive(entry)
|
if (mRemoteInputManager.isRemoteInputActive(entry)) {
|
||||||
&& !TextUtils.isEmpty(row.getActiveRemoteInputText())) {
|
|
||||||
// We have an active remote input typed and the user clicked on the notification.
|
// We have an active remote input typed and the user clicked on the notification.
|
||||||
// this was probably unintentional, so we're closing the edit text instead.
|
// this was probably unintentional, so we're closing the edit text instead.
|
||||||
mRemoteInputManager.closeRemoteInputs();
|
mRemoteInputManager.closeRemoteInputs();
|
||||||
|
|||||||
Reference in New Issue
Block a user