mirror of
https://github.com/M66B/FairEmail.git
synced 2025-12-26 15:40:59 +01:00
Fixed warnings
This commit is contained in:
@@ -118,8 +118,6 @@ public abstract class SimpleTask<T> implements LifecycleObserver {
|
||||
this.stored = null;
|
||||
owner.getLifecycle().addObserver(this);
|
||||
|
||||
onInit(args);
|
||||
|
||||
// Run in background thread
|
||||
executor.submit(new Runnable() {
|
||||
@Override
|
||||
@@ -164,9 +162,6 @@ public abstract class SimpleTask<T> implements LifecycleObserver {
|
||||
}
|
||||
}
|
||||
|
||||
protected void onInit(Bundle args) {
|
||||
}
|
||||
|
||||
protected T onLoad(Context context, Bundle args) throws Throwable {
|
||||
// Be careful not to access members in outer scopes
|
||||
return null;
|
||||
|
||||
Reference in New Issue
Block a user