Skip to content
Commit de10c938 authored by Nauval Rizky's avatar Nauval Rizky
Browse files

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.
parent 760227fa
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment