Lollipop stopped the getRecentTasks API from working. Fortunately, they made a replacement this time as detailed here. It's not exactly the same, and it's a little bit more work/code to figure out the most recent app. Anyway, it works again! Hooray!
Llama.1.2014.11.20.2330
- Active app condition works again