Detects all activities for whether showing work challenge
Work challenge did not show when a work activity is not on top, but
still visible after screen turns on.
Also show work challenge even if the work activity is behind a top
fullscreen activity of another profile because the user can still
navigate back to the work activity when top activity finishes.
(cherry picked from commit 87fa64ebe46f1b3273e1e42c99ef2a09f19145a8)
2 files changed