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.
tasks/src/main/java/org/tasks/scheduling/RefreshSchedulerIntentServi...

28 lines
634 B
Java

package org.tasks.scheduling;
import android.content.Intent;
import org.tasks.injection.InjectingIntentService;
import javax.inject.Inject;
import timber.log.Timber;
public class RefreshSchedulerIntentService extends InjectingIntentService {
@Inject RefreshScheduler refreshScheduler;
public RefreshSchedulerIntentService() {
super(RefreshSchedulerIntentService.class.getSimpleName());
}
@Override
protected void onHandleIntent(Intent intent) {
super.onHandleIntent(intent);
Timber.d("onHandleIntent(%s)", intent);
refreshScheduler.scheduleApplicationRefreshes();
}
}