Add locusId as something taskOrganizers care about

This ensures that a locusId change will trigger an
onTaskInfoChange immediately. Previously it would just
be sent with the next info change event which isn't
sufficient.

Test: atest NotificationManagerTest
Bug: 204260661
Change-Id: I2b53f63b6efd6d2c22a877b7c33f5a12832a8e1d
This commit is contained in:
Mady Mellor
2021-11-01 15:12:33 -07:00
parent 38b65a1565
commit 5468eedde5

View File

@@ -368,7 +368,8 @@ public class TaskInfo {
&& Objects.equals(taskDescription, that.taskDescription)
&& isFocused == that.isFocused
&& isVisible == that.isVisible
&& isSleeping == that.isSleeping;
&& isSleeping == that.isSleeping
&& Objects.equals(mTopActivityLocusId, that.mTopActivityLocusId);
}
/**