I have a player service that should play no matter what activity of the app I am on.
How can I check from the service if the activity controlling the service is displayed
to know whether to update its progressbar or not
How can I check from the service if the activity controlling the service is displayed
to know whether to update its progressbar or not