Ensure all Workers have a public WorkManager constructor.
This commit is contained in:
parent
37b9e4f200
commit
5450967d00
3 changed files with 3 additions and 3 deletions
|
@ -48,7 +48,7 @@ public class AttachmentUploadJob extends ContextJob implements InjectableType {
|
|||
private AttachmentId attachmentId;
|
||||
@Inject SignalServiceMessageSender messageSender;
|
||||
|
||||
protected AttachmentUploadJob(@NonNull Context context, @NonNull WorkerParameters workerParameters) {
|
||||
public AttachmentUploadJob(@NonNull Context context, @NonNull WorkerParameters workerParameters) {
|
||||
super(context, workerParameters);
|
||||
}
|
||||
|
||||
|
|
|
@ -13,7 +13,7 @@ public abstract class ContextJob extends Job implements ContextDependent {
|
|||
|
||||
protected transient Context context;
|
||||
|
||||
protected ContextJob(@NonNull Context context, @NonNull WorkerParameters workerParameters) {
|
||||
public ContextJob(@NonNull Context context, @NonNull WorkerParameters workerParameters) {
|
||||
super(context, workerParameters);
|
||||
}
|
||||
|
||||
|
|
|
@ -31,7 +31,7 @@ public abstract class SendJob extends ContextJob {
|
|||
@SuppressWarnings("unused")
|
||||
private final static String TAG = SendJob.class.getSimpleName();
|
||||
|
||||
protected SendJob(@NonNull Context context, @NonNull WorkerParameters workerParameters) {
|
||||
public SendJob(@NonNull Context context, @NonNull WorkerParameters workerParameters) {
|
||||
super(context, workerParameters);
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue