mirror of
https://github.com/oxen-io/session-android.git
synced 2024-11-24 02:25:19 +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;
|
private AttachmentId attachmentId;
|
||||||
@Inject SignalServiceMessageSender messageSender;
|
@Inject SignalServiceMessageSender messageSender;
|
||||||
|
|
||||||
protected AttachmentUploadJob(@NonNull Context context, @NonNull WorkerParameters workerParameters) {
|
public AttachmentUploadJob(@NonNull Context context, @NonNull WorkerParameters workerParameters) {
|
||||||
super(context, workerParameters);
|
super(context, workerParameters);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -13,7 +13,7 @@ public abstract class ContextJob extends Job implements ContextDependent {
|
|||||||
|
|
||||||
protected transient Context context;
|
protected transient Context context;
|
||||||
|
|
||||||
protected ContextJob(@NonNull Context context, @NonNull WorkerParameters workerParameters) {
|
public ContextJob(@NonNull Context context, @NonNull WorkerParameters workerParameters) {
|
||||||
super(context, workerParameters);
|
super(context, workerParameters);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -31,7 +31,7 @@ public abstract class SendJob extends ContextJob {
|
|||||||
@SuppressWarnings("unused")
|
@SuppressWarnings("unused")
|
||||||
private final static String TAG = SendJob.class.getSimpleName();
|
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);
|
super(context, workerParameters);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user