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 e1541e7ec9)
This commit is contained in:
Beverly
2019-12-16 13:29:08 -05:00
committed by Lyn Han
parent 556bdce162
commit 172e20fa16

View File

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