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
This commit is contained in:
Tony Mak
2019-05-25 08:42:37 +01:00
parent 0f5ce51f30
commit 621471f43f

View File

@@ -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;
}