summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
author Tony Mak <tonymak@google.com> 2019-05-25 08:42:37 +0100
committer Tony Mak <tonymak@google.com> 2019-05-25 08:42:37 +0100
commit621471f43f19ba2ded740dae570672101020787c (patch)
tree69389fb9e04ff9eb78be3d85e4ea476a5f639702
parent0f5ce51f30ebc57dfe5ec5b9810ed0891d709c14 (diff)
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
-rw-r--r--packages/SystemUI/src/com/android/systemui/statusbar/NotificationRemoteInputManager.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/packages/SystemUI/src/com/android/systemui/statusbar/NotificationRemoteInputManager.java b/packages/SystemUI/src/com/android/systemui/statusbar/NotificationRemoteInputManager.java
index 2793b2a0f009..f1ff536ff0c3 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;
}