Clean conditionaly when disabled

This commit is contained in:
M66B
2020-10-17 15:57:01 +02:00
parent a979846b79
commit d0487795e0
4 changed files with 41 additions and 21 deletions

View File

@@ -454,6 +454,8 @@ public class ServiceSynchronize extends ServiceBase implements SharedPreferences
// Stop service
stopSelf();
EntityLog.log(ServiceSynchronize.this, "### stop self eventId=" + eventId);
WorkerCleanup.cleanupConditionally(ServiceSynchronize.this);
}
}
});