Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit 27c4e7be authored by Ibrahim Yilmaz's avatar Ibrahim Yilmaz
Browse files

Show correct last notification time for grouped notifications

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
parent 82472631
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment