From 172e20fa16922f5fecdc7feb1883ffae02ea00cb Mon Sep 17 00:00:00 2001 From: Beverly Date: Mon, 16 Dec 2019 13:29:08 -0500 Subject: Update Ranking's equal method [DO NOT MERGE] [Cherry picked from master] Include check for whether mVisuallyInterruptive has changed Test: atest BubbleDataTest Change-Id: I5c4706667e6ca4cde44ef3671daa24afaf2b14f3 (cherry picked from commit e1541e7ec9c40a81a99ceafe1fba4e594ac53c6c) --- .../java/android/service/notification/NotificationListenerService.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/core/java/android/service/notification/NotificationListenerService.java b/core/java/android/service/notification/NotificationListenerService.java index 93e3ea44f7c7..ae489c304e64 100644 --- a/core/java/android/service/notification/NotificationListenerService.java +++ b/core/java/android/service/notification/NotificationListenerService.java @@ -1887,7 +1887,8 @@ public abstract class NotificationListenerService extends Service { && ((mSmartActions == null ? 0 : mSmartActions.size()) == (other.mSmartActions == null ? 0 : other.mSmartActions.size())) && Objects.equals(mSmartReplies, other.mSmartReplies) - && Objects.equals(mCanBubble, other.mCanBubble); + && Objects.equals(mCanBubble, other.mCanBubble) + && Objects.equals(mVisuallyInterruptive, other.mVisuallyInterruptive); } } -- cgit v1.2.3-59-g8ed1b