Watch service leaks

This commit is contained in:
M66B
2022-05-02 10:15:29 +02:00
parent 358bbaad84
commit 149539afec
8 changed files with 23 additions and 0 deletions

View File

@@ -28,4 +28,10 @@ public class ServiceTileClear extends TileService {
public void onClick() {
startActivityAndCollapse(ActivityClear.getIntent(this));
}
@Override
public void onDestroy() {
super.onDestroy();
CoalMine.watch(this, this.getClass().getName() + "#onDestroy");
}
}