fedilab-Android-App/app/src/main/java/fr/gouv/etalab/mastodon/services/BaseService.java

32 lines
609 B
Java
Raw Normal View History

2017-12-13 12:52:14 +01:00
package fr.gouv.etalab.mastodon.services;
2017-12-17 14:20:04 +01:00
import android.annotation.SuppressLint;
2017-12-13 12:52:14 +01:00
import android.app.IntentService;
import android.content.Intent;
import android.support.annotation.Nullable;
2017-12-17 14:20:04 +01:00
import fr.gouv.etalab.mastodon.helper.Helper;
2017-12-13 12:52:14 +01:00
/**
* Created by Thomas on 13/12/2017.
2017-12-17 14:20:04 +01:00
* BaseService class to install provider
2017-12-13 12:52:14 +01:00
*/
2017-12-17 14:20:04 +01:00
@SuppressLint("Registered")
2017-12-13 12:52:14 +01:00
public class BaseService extends IntentService {
static {
2017-12-17 14:20:04 +01:00
Helper.installProvider();
2017-12-13 12:52:14 +01:00
}
public BaseService(String name) {
super(name);
}
@Override
protected void onHandleIntent(@Nullable Intent intent) {
}
}