session-android/app/src/main/java/org/thoughtcrime/securesms/notifications
Morgan Pretty eb739bdc9b
ANR Defensive Coding (#1132)
* Made a number of changes to try and improve background ANRs

Added some more logs to the BatchMessageReceiveJob (to make it easier to track a specific job)
Shifted the ConversationActivity adapter initialisation to run on a background thread to reduce the hang when opening a conversation
Updated the ConversationViewModel to cache the recipient and openGroup values to avoid accessing the database unnecessarily
Updated the code to just stop all current closed group pollers instead of fetching a list to stop
Updated the PN registration to be triggered in an AsyncTask
Updated the call code to unregister a couple of additional receivers
Updated the background poller so it waits for 15 mins before running and doesn't replace the existing scheduler (allows for PNs to trigger explicit background polling)
Fixed an issue where we were sending push notifications which were too large and likely to fail as a result (non-pre-offer call messages)
Fixed an issue where a failing Open Group poller could prevent the background poller from receiving and processing DMs

* Updated to a more coroutine-y convention
2023-03-31 13:24:36 +11:00
..
AbstractNotificationBuilder.java New app theming (#913) 2022-10-12 17:05:55 +11:00
AndroidAutoHeardReceiver.java refactor: use hilt to provide DB instead of our own factory, inject it in some places where possible 2021-10-04 18:51:19 +11:00
AndroidAutoReplyReceiver.java Updated the code to use the network offset time everywhere relevant (#1111) 2023-03-31 10:11:30 +11:00
BackgroundPollWorker.kt ANR Defensive Coding (#1132) 2023-03-31 13:24:36 +11:00
DefaultMessageNotifier.java Updated the code to use the network offset time everywhere relevant (#1111) 2023-03-31 10:11:30 +11:00
DeleteNotificationReceiver.java refactor: use hilt to provide DB instead of our own factory, inject it in some places where possible 2021-10-04 18:51:19 +11:00
FailedNotificationBuilder.java Paged conversation recycler, update compile sdk version 31 (#1049) 2022-12-19 11:29:05 +11:00
FcmUtils.kt Re-organize files 2021-07-09 13:18:48 +10:00
LocaleChangedReceiver.java restructure and unite service android/java to libsignal 2020-11-26 09:46:52 +11:00
LokiPushNotificationManager.kt Add Session Id blinding (#862) 2022-08-10 18:17:48 +10:00
MarkReadReceiver.java Updated the code to use the network offset time everywhere relevant (#1111) 2023-03-31 10:11:30 +11:00
MultipleRecipientNotificationBuilder.java Merge pull request #991 from ceokot/groups-push-message-sender-name 2023-01-24 14:52:50 +11:00
NotificationChannels.java New app theming (#913) 2022-10-12 17:05:55 +11:00
NotificationItem.java Paged conversation recycler, update compile sdk version 31 (#1049) 2022-12-19 11:29:05 +11:00
NotificationState.java Paged conversation recycler, update compile sdk version 31 (#1049) 2022-12-19 11:29:05 +11:00
OptimizedMessageNotifier.java feat: don't show notifications on HomeActivity.kt 2021-07-13 16:31:16 +10:00
PendingMessageNotificationBuilder.java Paged conversation recycler, update compile sdk version 31 (#1049) 2022-12-19 11:29:05 +11:00
PushNotificationService.kt fix: fallback on biometric key failures and retry creating key, fix up notification issues 2022-06-21 16:17:01 +10:00
RemoteReplyReceiver.java Performance improvements and bug fixes (#869) 2022-06-08 17:12:34 +10:00
ReplyMethod.java Move files 2021-05-18 16:03:47 +10:00
SingleRecipientNotificationBuilder.java Merge pull request #991 from ceokot/groups-push-message-sender-name 2023-01-24 14:52:50 +11:00