Watch services/theads

This commit is contained in:
M66B
2022-04-17 21:34:33 +02:00
parent 52525cd618
commit af83f236a3
14 changed files with 126 additions and 43 deletions

View File

@@ -131,6 +131,12 @@ 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(