mirror of
https://github.com/M66B/FairEmail.git
synced 2026-03-27 03:15:39 +01:00
Cleanup
This commit is contained in:
@@ -67,7 +67,6 @@ public class ServiceExternal extends Service {
|
||||
Log.i("Service external destroy");
|
||||
stopForeground(true);
|
||||
super.onDestroy();
|
||||
CoalMine.watch(this, getClass().getSimpleName() + "#onDestroy()");
|
||||
}
|
||||
|
||||
@Override
|
||||
|
||||
@@ -131,12 +131,6 @@ public class ServicePowerControl extends ControlsProviderService {
|
||||
}
|
||||
}
|
||||
|
||||
@Override
|
||||
public void onDestroy() {
|
||||
super.onDestroy();
|
||||
CoalMine.watch(this, getClass().getSimpleName() + "#onDestroy()");
|
||||
}
|
||||
|
||||
private PendingIntent getPendingIntent() {
|
||||
Context context = getBaseContext();
|
||||
return PendingIntentCompat.getActivity(
|
||||
|
||||
@@ -191,7 +191,6 @@ public class ServiceSend extends ServiceBase implements SharedPreferences.OnShar
|
||||
nm.cancel(NotificationHelper.NOTIFICATION_SEND);
|
||||
|
||||
super.onDestroy();
|
||||
CoalMine.watch(this, getClass().getSimpleName() + "#onDestroy()");
|
||||
}
|
||||
|
||||
@Override
|
||||
|
||||
@@ -923,7 +923,6 @@ public class ServiceSynchronize extends ServiceBase implements SharedPreferences
|
||||
nm.cancel(NotificationHelper.NOTIFICATION_SYNCHRONIZE);
|
||||
|
||||
super.onDestroy();
|
||||
CoalMine.watch(this, getClass().getSimpleName() + "#onDestroy()");
|
||||
}
|
||||
|
||||
@Override
|
||||
|
||||
@@ -28,10 +28,4 @@ public class ServiceTileClear extends TileService {
|
||||
public void onClick() {
|
||||
startActivityAndCollapse(ActivityClear.getIntent(this));
|
||||
}
|
||||
|
||||
@Override
|
||||
public void onDestroy() {
|
||||
super.onDestroy();
|
||||
CoalMine.watch(this, getClass().getSimpleName() + "#onDestroy()");
|
||||
}
|
||||
}
|
||||
|
||||
@@ -84,10 +84,4 @@ public class ServiceTileSynchronize extends TileService implements SharedPrefere
|
||||
boolean enabled = !prefs.getBoolean("enabled", true);
|
||||
prefs.edit().putBoolean("enabled", enabled).apply();
|
||||
}
|
||||
|
||||
@Override
|
||||
public void onDestroy() {
|
||||
super.onDestroy();
|
||||
CoalMine.watch(this, getClass().getSimpleName() + "#onDestroy()");
|
||||
}
|
||||
}
|
||||
|
||||
@@ -86,7 +86,6 @@ public class ServiceTileUnseen extends TileService {
|
||||
public void onDestroy() {
|
||||
owner.destroy();
|
||||
super.onDestroy();
|
||||
CoalMine.watch(this, getClass().getSimpleName() + "#onDestroy()");
|
||||
}
|
||||
|
||||
public void onStartListening() {
|
||||
|
||||
@@ -77,7 +77,6 @@ public class ServiceUI extends IntentService {
|
||||
public void onDestroy() {
|
||||
Log.i("Service UI destroy");
|
||||
super.onDestroy();
|
||||
CoalMine.watch(this, "ServiceUI#onDestroy()");
|
||||
}
|
||||
|
||||
@Override
|
||||
|
||||
Reference in New Issue
Block a user