mirror of
https://github.com/oxen-io/session-android.git
synced 2024-12-24 00:37:47 +00:00
Ensure all Workers have a public WorkManager constructor.
This commit is contained in:
parent
37b9e4f200
commit
5450967d00
@ -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…
x
Reference in New Issue
Block a user