TaskListenerService: use companion object for check and start
getRunningServices is deprecated, it's fine but we better move to another approach. Since object in kotlin is already a thread-safe singleton, let's use it for storing service status. Additionally, add start() factory for starting the service with status checking for convenience.
Loading
Please register or sign in to comment