mirror of
https://github.com/oxen-io/session-android.git
synced 2025-10-24 05:39:33 +00:00
Remove generic foreground service condition from Job.
I don't think it actually helps at all, meaning it just adds complexity. Fixes #8677
This commit is contained in:
committed by
Alan Evans
parent
278fdebf43
commit
18613e3b6f
@@ -45,11 +45,6 @@ public class PushNotificationReceiveJob extends PushReceivedJob implements Injec
|
||||
return dataBuilder.build();
|
||||
}
|
||||
|
||||
@Override
|
||||
protected String getDescription() {
|
||||
return context.getString(R.string.PushNotificationReceiveJob_retrieving_a_message);
|
||||
}
|
||||
|
||||
@Override
|
||||
public void onRun() throws IOException {
|
||||
pullAndProcessMessages(receiver, TAG, System.currentTimeMillis());
|
||||
|
||||
@@ -39,11 +39,6 @@ public abstract class SendJob extends ContextJob {
|
||||
super(context, parameters);
|
||||
}
|
||||
|
||||
@Override
|
||||
protected String getDescription() {
|
||||
return context.getString(R.string.SendJob_sending_a_message);
|
||||
}
|
||||
|
||||
@Override
|
||||
public final void onRun() throws Exception {
|
||||
if (Util.getDaysTillBuildExpiry() <= 0) {
|
||||
|
||||
Reference in New Issue
Block a user