mirror of https://github.com/tasks/tasks
You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
19 lines
387 B
Java
19 lines
387 B
Java
7 years ago
|
package org.tasks.jobs;
|
||
|
|
||
|
import android.content.Intent;
|
||
|
|
||
|
public abstract class WakefulJob extends Job {
|
||
|
|
||
|
public WakefulJob(String name) {
|
||
|
super(name);
|
||
|
}
|
||
|
|
||
|
@Override
|
||
|
protected void onHandleIntent(Intent intent) {
|
||
|
super.onHandleIntent(intent);
|
||
|
completeWakefulIntent(intent);
|
||
|
}
|
||
|
|
||
|
protected abstract void completeWakefulIntent(Intent intent);
|
||
|
}
|