diff options
| author | 2019-12-16 13:29:08 -0500 | |
|---|---|---|
| committer | 2019-12-19 12:29:09 -0800 | |
| commit | 172e20fa16922f5fecdc7feb1883ffae02ea00cb (patch) | |
| tree | 92c2dbfae19426f447217a83162e6a464e4c8a9b | |
| parent | 556bdce162c946c6f80f8969254befbfaac48254 (diff) | |
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)
| -rw-r--r-- | core/java/android/service/notification/NotificationListenerService.java | 3 |
1 files changed, 2 insertions, 1 deletions
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); } } |