Tapping a notification closes inline reply, regardless of whether the user has typed anything.
Test: tap reply; tap notification; observe notification content intent does not launch Fixes: 289087107 Change-Id: I7010e07c4d17ffc78a1ba1aa8b5159e94d213be9
This commit is contained in:
@@ -215,8 +215,7 @@ class StatusBarNotificationActivityStarter implements NotificationActivityStarte
|
||||
public void onNotificationClicked(NotificationEntry entry, ExpandableNotificationRow row) {
|
||||
mLogger.logStartingActivityFromClick(entry);
|
||||
|
||||
if (mRemoteInputManager.isRemoteInputActive(entry)
|
||||
&& !TextUtils.isEmpty(row.getActiveRemoteInputText())) {
|
||||
if (mRemoteInputManager.isRemoteInputActive(entry)) {
|
||||
// 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.
|
||||
mRemoteInputManager.closeRemoteInputs();
|
||||
|
||||
Reference in New Issue
Block a user