session-android/src/org/thoughtcrime/securesms/jobs
Greyson Parrelli e4b56d4e40 Show foreground notification for jobs when network is restricted.
Occasionally a job may be run when the app is in a network-restricted
mode, like a form of doze. When this happens, jobs can timeout due to
lack of network access, causing a cascade of job delays. This is
particularly bad in the case of message retrieval.

To prevent this, if a job that normally requires network detects that no
network is available when running, then we start a foreground
notification.
2018-10-03 10:00:42 -07:00
..
requirements Keep retrying message sends for 24 hours. 2018-06-22 10:59:53 -07:00
AttachmentDownloadJob.java Improve key presence checking in SafeData. 2018-10-02 12:31:12 -07:00
AvatarDownloadJob.java Schedule jobs with WorkManager. 2018-10-01 12:12:50 -07:00
CleanPreKeysJob.java Schedule jobs with WorkManager. 2018-10-01 12:12:50 -07:00
ContextJob.java Imported JobManager as a source dependency. 2018-06-22 10:59:53 -07:00
CreateSignedPreKeyJob.java Schedule jobs with WorkManager. 2018-10-01 12:12:50 -07:00
DirectoryRefreshJob.java Improve key presence checking in SafeData. 2018-10-02 12:31:12 -07:00
GcmRefreshJob.java Schedule jobs with WorkManager. 2018-10-01 12:12:50 -07:00
LocalBackupJob.java Schedule jobs with WorkManager. 2018-10-01 12:12:50 -07:00
MasterSecretJob.java Imported JobManager as a source dependency. 2018-06-22 10:59:53 -07:00
MmsDownloadJob.java Improve key presence checking in SafeData. 2018-10-02 12:31:12 -07:00
MmsReceiveJob.java Schedule jobs with WorkManager. 2018-10-01 12:12:50 -07:00
MmsSendJob.java Schedule jobs with WorkManager. 2018-10-01 12:12:50 -07:00
MultiDeviceBlockedUpdateJob.java Schedule jobs with WorkManager. 2018-10-01 12:12:50 -07:00
MultiDeviceContactUpdateJob.java Improve key presence checking in SafeData. 2018-10-02 12:31:12 -07:00
MultiDeviceGroupUpdateJob.java Schedule jobs with WorkManager. 2018-10-01 12:12:50 -07:00
MultiDeviceProfileKeyUpdateJob.java Schedule jobs with WorkManager. 2018-10-01 12:12:50 -07:00
MultiDeviceReadReceiptUpdateJob.java Improve key presence checking in SafeData. 2018-10-02 12:31:12 -07:00
MultiDeviceReadUpdateJob.java Schedule jobs with WorkManager. 2018-10-01 12:12:50 -07:00
MultiDeviceVerifiedUpdateJob.java Schedule jobs with WorkManager. 2018-10-01 12:12:50 -07:00
PushContentReceiveJob.java Improve key presence checking in SafeData. 2018-10-02 12:31:12 -07:00
PushDecryptJob.java Schedule jobs with WorkManager. 2018-10-01 12:12:50 -07:00
PushGroupSendJob.java Improve key presence checking in SafeData. 2018-10-02 12:31:12 -07:00
PushGroupUpdateJob.java Schedule jobs with WorkManager. 2018-10-01 12:12:50 -07:00
PushMediaSendJob.java Schedule jobs with WorkManager. 2018-10-01 12:12:50 -07:00
PushNotificationReceiveJob.java Show foreground notification for jobs when network is restricted. 2018-10-03 10:00:42 -07:00
PushReceivedJob.java Add the ability to block groups. 2018-09-18 15:26:50 -07:00
PushSendJob.java Schedule jobs with WorkManager. 2018-10-01 12:12:50 -07:00
PushTextSendJob.java Schedule jobs with WorkManager. 2018-10-01 12:12:50 -07:00
RefreshAttributesJob.java Schedule jobs with WorkManager. 2018-10-01 12:12:50 -07:00
RefreshPreKeysJob.java Schedule jobs with WorkManager. 2018-10-01 12:12:50 -07:00
RequestGroupInfoJob.java Schedule jobs with WorkManager. 2018-10-01 12:12:50 -07:00
RetrieveProfileAvatarJob.java Improve key presence checking in SafeData. 2018-10-02 12:31:12 -07:00
RetrieveProfileJob.java Schedule jobs with WorkManager. 2018-10-01 12:12:50 -07:00
RotateSignedPreKeyJob.java Schedule jobs with WorkManager. 2018-10-01 12:12:50 -07:00
SendJob.java Show foreground notification for jobs when network is restricted. 2018-10-03 10:00:42 -07:00
SendReadReceiptJob.java Schedule jobs with WorkManager. 2018-10-01 12:12:50 -07:00
ServiceOutageDetectionJob.java Schedule jobs with WorkManager. 2018-10-01 12:12:50 -07:00
SmsReceiveJob.java Schedule jobs with WorkManager. 2018-10-01 12:12:50 -07:00
SmsSendJob.java Schedule jobs with WorkManager. 2018-10-01 12:12:50 -07:00
SmsSentJob.java Schedule jobs with WorkManager. 2018-10-01 12:12:50 -07:00
TrimThreadJob.java Schedule jobs with WorkManager. 2018-10-01 12:12:50 -07:00
UpdateApkJob.java Schedule jobs with WorkManager. 2018-10-01 12:12:50 -07:00