Closed cpetrov closed 5 years ago
Sometimes, especially when many notifications are present (5+), pendingMessages are not sorted according to their order of arrival.
Notifications should be sorted (oldest one first). Notification#when (preferably if available) or [StatusBarNotification#getPostTime()](https://developer.android.com/reference/android/service/notification/StatusBarNotification.html#getPostTime()) could be used to sort them.
Use the plugin example.
Problem description
Sometimes, especially when many notifications are present (5+), pendingMessages are not sorted according to their order of arrival.
Expected behavior
Notifications should be sorted (oldest one first). Notification#when (preferably if available) or [StatusBarNotification#getPostTime()](https://developer.android.com/reference/android/service/notification/StatusBarNotification.html#getPostTime()) could be used to sort them.
Environment
Code snippet
Use the plugin example.