mirror of
https://github.com/commons-app/apps-android-commons.git
synced 2025-10-27 04:43:54 +01:00
Refactoring based on comments
This commit is contained in:
parent
e1afa6081e
commit
eb3e448452
17 changed files with 51 additions and 103 deletions
|
|
@ -1,6 +1,5 @@
|
|||
package fr.free.nrw.commons;
|
||||
|
||||
import android.app.Service;
|
||||
import android.content.Intent;
|
||||
import android.os.Binder;
|
||||
import android.os.Handler;
|
||||
|
|
@ -9,11 +8,9 @@ import android.os.IBinder;
|
|||
import android.os.Looper;
|
||||
import android.os.Message;
|
||||
|
||||
import dagger.android.AndroidInjection;
|
||||
import dagger.android.DaggerService;
|
||||
import fr.free.nrw.commons.di.FixedDaggerService;
|
||||
import fr.free.nrw.commons.di.CommonsDaggerService;
|
||||
|
||||
public abstract class HandlerService<T> extends FixedDaggerService {
|
||||
public abstract class HandlerService<T> extends CommonsDaggerService {
|
||||
private volatile Looper threadLooper;
|
||||
private volatile ServiceHandler threadHandler;
|
||||
private String serviceName;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue