session-android/src/org/thoughtcrime/securesms/jobmanager
Greyson Parrelli b7b9554364 Prevent multiple instances of the same job running concurrently.
There are rare corner cases where a Job could be preempted by the
JobScheduler and then be rescheduled before the preempted job finished
running. This could create weird race conditions with bad consequences.

To fix this, we create a fun locking system that prevents two jobs with
the same UUID from running at the same time.
2018-10-30 08:48:07 -07:00
..
dependencies Schedule jobs with WorkManager. 2018-10-01 12:12:50 -07:00
persistence Schedule jobs with WorkManager. 2018-10-01 12:12:50 -07:00
requirements Schedule jobs with WorkManager. 2018-10-01 12:12:50 -07:00
util Imported JobManager as a source dependency. 2018-06-22 10:59:53 -07:00
EncryptionKeys.java Imported JobManager as a source dependency. 2018-06-22 10:59:53 -07:00
Job.java Prevent multiple instances of the same job running concurrently. 2018-10-30 08:48:07 -07:00
JobManager.java Ensure jobs have a Context during onAdded(). 2018-10-20 22:52:14 -07:00
JobParameters.java Schedule jobs with WorkManager. 2018-10-01 12:12:50 -07:00
SafeData.java Improve key presence checking in SafeData. 2018-10-02 12:31:12 -07:00
WorkLockManager.java Prevent multiple instances of the same job running concurrently. 2018-10-30 08:48:07 -07:00