Mishaal Rahman on Twitter: "New foreground service manager w/ a Quick Setting tile. Tapping it opens a dialog that shows the currently running apps. This is disabled by default in 13 DP1.
Tasker detecting itself
HELP] Check if app is running in foreground/background : r/tasker
Everything You Need to Know About Tasker Profiles « Android :: Gadget Hacks