session-android/app
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
..
proguard fix: Selected message theme colours and crash fixes (#1025) 2022-10-24 15:45:26 +11:00
src ANR Defensive Coding (#1132) 2023-03-31 13:24:36 +11:00
.gitignore
build.gradle ANR Defensive Coding (#1132) 2023-03-31 13:24:36 +11:00
google-services.json
lint-baseline.xml App's gradle config cleanup. 2020-11-26 12:41:59 +11:00
lint.xml