From 621471f43f19ba2ded740dae570672101020787c Mon Sep 17 00:00:00 2001 From: Tony Mak Date: Sat, 25 May 2019 08:42:37 +0100 Subject: [PATCH] Fix wrong check in logActionClick Test: Add a log at the end of the logActionClick function. Click on the action, observe the log is printed. FIXES: 133508428 Change-Id: I207e60e76a66a36176b9f39caf09c97ae6eeb8c8 --- .../systemui/statusbar/NotificationRemoteInputManager.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/SystemUI/src/com/android/systemui/statusbar/NotificationRemoteInputManager.java b/packages/SystemUI/src/com/android/systemui/statusbar/NotificationRemoteInputManager.java index 2793b2a0f009a..f1ff536ff0c3c 100644 --- a/packages/SystemUI/src/com/android/systemui/statusbar/NotificationRemoteInputManager.java +++ b/packages/SystemUI/src/com/android/systemui/statusbar/NotificationRemoteInputManager.java @@ -193,7 +193,7 @@ public class NotificationRemoteInputManager implements Dumpable { } final Notification.Action action = statusBarNotification.getNotification().actions[actionIndex]; - if (Objects.equals(action.actionIntent, actionIntent)) { + if (!Objects.equals(action.actionIntent, actionIntent)) { Log.w(TAG, "actionIntent does not match"); return; }