Skip slow deviceheuristics for linked devices.

This commit is contained in:
Alex Hart authored and Michelle Tang committed 2026-05-11 16:31:32 -04:00
1 parent 0dacc4e8dc
commit 45da9fbfc0
1 file changed
+4
@@ -90,6 +90,10 @@ object SlowNotificationHeuristics {
@WorkerThread
@JvmStatic
fun isHavingDelayedNotifications(): Boolean {
if (SignalStore.account.isLinkedDevice) {
// Linked devices are expected to be off for long stretches, so the heuristic produces spurious warnings
return false
}
if (!SignalStore.settings.isMessageNotificationsEnabled ||
!NotificationChannels.getInstance().areNotificationsEnabled()
) {