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:
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user