Signal-Android/app/src/main/java/org/thoughtcrime/securesms/jobmanager
Greyson Parrelli 310ec8f296 Remove CellServiceConstraint in favor of NetworkOrCellServiceConstraint.
If a job was enqueued with a CellServiceConstraint (which is currently
only SMS jobs), then it'll never run until it gets service, even if you
flip the "enable SMS sending over wifi" toggle.

This has created bad situations in the past, where SMS jobs just get
stuck on devices that never report having cell service (like VM's or
wifi only devices).

This fixes it by *always* using NetworkOrCellServiceConstraint, and then
deciding whether a constraint is met by checking the "wifi SMS" setting
at decision-time.
2020-05-13 16:18:18 -04:00
..
impl Remove CellServiceConstraint in favor of NetworkOrCellServiceConstraint. 2020-05-13 16:18:18 -04:00
migrations Improve message requests, add megaphone. 2020-02-26 17:08:27 -05:00
persistence Add support for passing data between jobs. 2020-04-21 13:33:41 -04:00
workmanager Add support for passing data between jobs. 2020-04-21 13:33:41 -04:00
AlarmManagerScheduler.java Move all files to natural position. 2020-01-06 11:08:30 -05:00
BootReceiver.java Move all files to natural position. 2020-01-06 11:08:30 -05:00
CompositeScheduler.java Move all files to natural position. 2020-01-06 11:08:30 -05:00
Constraint.java Move all files to natural position. 2020-01-06 11:08:30 -05:00
ConstraintInstantiator.java Move all files to natural position. 2020-01-06 11:08:30 -05:00
ConstraintObserver.java Move all files to natural position. 2020-01-06 11:08:30 -05:00
Data.java Improve message requests, add megaphone. 2020-02-26 17:08:27 -05:00
DependencyInjector.java Move all files to natural position. 2020-01-06 11:08:30 -05:00
ExecutorFactory.java Move all files to natural position. 2020-01-06 11:08:30 -05:00
InAppScheduler.java Move all files to natural position. 2020-01-06 11:08:30 -05:00
Job.java Add support for passing data between jobs. 2020-04-21 13:33:41 -04:00
JobController.java Add support for passing data between jobs. 2020-04-21 13:33:41 -04:00
JobInstantiator.java Move all files to natural position. 2020-01-06 11:08:30 -05:00
JobLogger.java Move all files to natural position. 2020-01-06 11:08:30 -05:00
JobManager.java Add ability to listen to jobs based on a filter. 2020-03-26 17:37:51 -04:00
JobMigration.java Move all files to natural position. 2020-01-06 11:08:30 -05:00
JobMigrator.java Add support for passing data between jobs. 2020-04-21 13:33:41 -04:00
JobRunner.java Add support for passing data between jobs. 2020-04-21 13:33:41 -04:00
JobSchedulerScheduler.java Move all files to natural position. 2020-01-06 11:08:30 -05:00
JobTracker.java Add ability to listen to jobs based on a filter. 2020-03-26 17:37:51 -04:00
KeepAliveService.java Move all files to natural position. 2020-01-06 11:08:30 -05:00
Scheduler.java Move all files to natural position. 2020-01-06 11:08:30 -05:00