session-android/app/src/main/java/org/thoughtcrime/securesms
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
..
animation Add emoji reacts support (#889) 2022-09-04 21:03:32 +10:00
attachments Merge remote-tracking branch 'upstream/dev' into feature/unread-mention-indicator 2023-01-24 14:02:08 +11:00
audio Add a global search (#834) 2022-02-07 17:06:27 +11:00
avatar Move files 2021-05-18 09:12:33 +10:00
backup Added code to migrate from SQLCipher 3 to 4 2023-01-05 16:56:52 +11:00
calls Add one on one calls over clearnet (#864) 2022-04-19 14:25:40 +10:00
components Updated the code to use the network offset time everywhere relevant (#1111) 2023-03-31 10:11:30 +11:00
contacts Paged conversation recycler, update compile sdk version 31 (#1049) 2022-12-19 11:29:05 +11:00
contactshare Move files 2021-05-18 16:11:38 +10:00
conversation ANR Defensive Coding (#1132) 2023-03-31 13:24:36 +11:00
crypto fix: fallback on biometric key failures and retry creating key, fix up notification issues 2022-06-21 16:17:01 +10:00
database Updated the code to use the network offset time everywhere relevant (#1111) 2023-03-31 10:11:30 +11:00
dependencies Added code to migrate from SQLCipher 3 to 4 2023-01-05 16:56:52 +11:00
dms Menu redesign (#958) 2022-09-30 13:32:07 +10:00
emoji Add emoji reacts support (#889) 2022-09-04 21:03:32 +10:00
events WIP clean 2021-01-14 10:28:07 +11:00
giph Performance improvements and bug fixes (#869) 2022-06-08 17:12:34 +10:00
glide New app theming (#913) 2022-10-12 17:05:55 +11:00
groups Fixed a few bugs, added logging and removed some old code 2023-02-03 13:33:52 +11:00
home Merge pull request #1107 from mpretty-cyro/fix/group-avatar-download-job-duplication 2023-02-17 10:16:22 +11:00
imageeditor restructure and unite service android/java to libsignal 2020-11-26 09:46:52 +11:00
jobmanager Paged conversation recycler, update compile sdk version 31 (#1049) 2022-12-19 11:29:05 +11:00
jobs Make the message trimming behaviour consistent across platform (#936) 2022-09-13 15:01:15 +10:00
keyboard/emoji New app theming (#913) 2022-10-12 17:05:55 +11:00
linkpreview Add one on one calls over clearnet (#864) 2022-04-19 14:25:40 +10:00
logging feat: add share logs dialogs into settings activity 2021-09-23 13:49:32 +10:00
longmessage 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
mediapreview Make link preview view use thumbnail 2021-06-24 15:03:29 +10:00
mediasend Add emoji reacts support (#889) 2022-09-04 21:03:32 +10:00
messagerequests Paged conversation recycler, update compile sdk version 31 (#1049) 2022-12-19 11:29:05 +11:00
mms Increased file upload limits to 10Mb 2023-02-06 14:22:26 +11:00
net Move files 2021-05-18 09:26:08 +10:00
notifications ANR Defensive Coding (#1132) 2023-03-31 13:24:36 +11:00
onboarding Tweaked some open group handling and a couple of onboarding issues 2023-01-13 15:56:14 +11:00
permissions New app theming (#913) 2022-10-12 17:05:55 +11:00
preferences Paged conversation recycler, update compile sdk version 31 (#1049) 2022-12-19 11:29:05 +11:00
profiles clean up unused code 2021-02-23 15:56:42 +11:00
providers 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
qr Move files 2021-05-18 09:12:33 +10:00
reactions New app theming (#913) 2022-10-12 17:05:55 +11:00
repository Updated the code to use the network offset time everywhere relevant (#1111) 2023-03-31 10:11:30 +11:00
scribbles Move files 2021-05-18 09:12:33 +10:00
search Paged conversation recycler, update compile sdk version 31 (#1049) 2022-12-19 11:29:05 +11:00
service ANR Defensive Coding (#1132) 2023-03-31 13:24:36 +11:00
sms hook up sending pipeline & clean 2021-03-02 12:24:09 +11:00
sskenvironment Paged conversation recycler, update compile sdk version 31 (#1049) 2022-12-19 11:29:05 +11:00
util Fixed a build error in the MockDataGenerator 2023-01-24 15:56:14 +11:00
video 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
webrtc ANR Defensive Coding (#1132) 2023-03-31 13:24:36 +11:00
AppContext.kt Replace default action message request behavior (#927) 2022-09-13 15:06:46 +10:00
ApplicationContext.java ANR Defensive Coding (#1132) 2023-03-31 13:24:36 +11:00
BaseActionBarActivity.java New app theming (#1011) 2022-10-18 17:59:47 +11:00
BaseActivity.java WIP clean 2021-01-15 16:51:53 +11:00
BindableConversationItem.java Move files 2021-05-18 16:11:38 +10:00
DatabaseUpgradeActivity.java refactor: remove old jobs and refactor any remaining calls to use new jobs 2021-04-08 16:12:54 +10:00
DummyActivity.java restructure and unite service android/java to libsignal 2020-11-26 09:46:52 +11:00
ExpirationDialog.java WIP clean 2021-01-15 16:51:53 +11:00
MediaDocumentsAdapter.java Move files 2021-05-18 09:12:33 +10:00
MediaGalleryAdapter.java Fixed a few bugs and some optimisations 2023-01-13 15:56:14 +11:00
MediaOverviewActivity.java Updated the code to use the network offset time everywhere relevant (#1111) 2023-03-31 10:11:30 +11:00
MediaPreviewActivity.java Updated the code to use the network offset time everywhere relevant (#1111) 2023-03-31 10:11:30 +11:00
MessageDetailsRecipientAdapter.java Re-organize files & delete unused code 2021-07-09 11:14:21 +10:00
MuteDialog.java feat: add notification types for all / mentions only or none with UI and push logic 2021-07-20 16:06:59 +10:00
PassphrasePromptActivity.java Fixed a few bugs, added logging and removed some old code 2023-02-03 13:33:52 +11:00
PassphraseRequiredActionBarActivity.java Re-organize files & delete unused code 2021-07-09 11:14:21 +10:00
ShareActivity.java refactor: move db module init before injection and replace ApplicationContext db component access to static function to get the component 2021-10-05 10:58:02 +11:00
ShortcutLauncherActivity.java Re-organize files & delete unused code 2021-07-09 11:14:21 +10:00
Unbindable.java restructure and unite service android/java to libsignal 2020-11-26 09:46:52 +11:00