+108
−0
packages/SystemUI/src/com/android/systemui/statusbar/notification/row/ExpandableNotificationRow.java
+13
−0
Loading
Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more
The time value in the current group notifications is not synced with its child notifications. That causes sub-optimal user experience for time critical contents. We decided to solve this problem with a small group coordinator(GroupTimeCoordinator): - if all notifications before now, we show the closest time value by now aka maximum value. - if all notifications after now, we show the closest time value by now aka minimum value. - if there are notifications before and after now, we show the closest the future time by now. Because, any future event is more important than even the most recent past event. Test: atest GroupWhenCoordinatorTest Bug: 181790059 Change-Id: I1bbbffb8d5c7a056f19b743b2984f86611978610