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:
Greyson Parrelli
2019-03-10 20:21:22 -07:00
committed by Alan Evans
parent 278fdebf43
commit 18613e3b6f
4 changed files with 0 additions and 44 deletions

View File

@@ -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());

View File

@@ -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) {