kopia lustrzana https://github.com/ryukoposting/Signal-Android
Swallow too many pending intents exception.
rodzic
5115eb125d
commit
7e7bc13b62
|
@ -148,13 +148,17 @@ object NotificationFactory {
|
||||||
threadsThatNewlyAlerted += conversation.thread
|
threadsThatNewlyAlerted += conversation.thread
|
||||||
}
|
}
|
||||||
|
|
||||||
notifyForConversation(
|
try {
|
||||||
context = context,
|
notifyForConversation(
|
||||||
conversation = conversation,
|
context = context,
|
||||||
targetThread = targetThread,
|
conversation = conversation,
|
||||||
defaultBubbleState = defaultBubbleState,
|
targetThread = targetThread,
|
||||||
shouldAlert = (conversation.hasNewNotifications() || alertOverrides.contains(conversation.thread)) && !conversation.mostRecentNotification.individualRecipient.isSelf
|
defaultBubbleState = defaultBubbleState,
|
||||||
)
|
shouldAlert = (conversation.hasNewNotifications() || alertOverrides.contains(conversation.thread)) && !conversation.mostRecentNotification.individualRecipient.isSelf
|
||||||
|
)
|
||||||
|
} catch (e: SecurityException) {
|
||||||
|
Log.w(TAG, "Too many pending intents device quirk", e)
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Ładowanie…
Reference in New Issue