|
YAACC - UPNP Client and Server
|
Process-wide background idle timer: exits the app five minutes after the last browser activity stopped, unless something is still running. More...

Process-wide background idle timer: exits the app five minutes after the last browser activity stopped, unless something is still running.
Browser activities call browserStarted(Context) from onStart and browserStopped(Context) from onStop; the counting rules are in StartedBrowserCounter.
Only the application context is kept. When the timer fires, the preferences and the player state are read again, so a change made while the app was in the background is respected.