Avoid suppressing message updates as progress

This commit is contained in:
ajp_anton
2026-08-08 06:00:56 +00:00
parent 6eaf2a8784
commit 653080090b
@@ -78,7 +78,11 @@ object NotificationContents {
} == true, } == true,
isGroupSummary = notification.flags and Notification.FLAG_GROUP_SUMMARY != 0, isGroupSummary = notification.flags and Notification.FLAG_GROUP_SUMMARY != 0,
isRoutine = extras?.getBoolean(Notification.EXTRA_SHOW_CHRONOMETER, false) == true || isRoutine = extras?.getBoolean(Notification.EXTRA_SHOW_CHRONOMETER, false) == true ||
extras?.containsKey(Notification.EXTRA_PROGRESS) == true, extras?.getBoolean(Notification.EXTRA_PROGRESS_INDETERMINATE, false) == true ||
extras?.let {
it.getInt(Notification.EXTRA_PROGRESS_MAX, 0) > 0 &&
it.getInt(Notification.EXTRA_PROGRESS, -1) >= 0
} == true,
) )
} }