More BackgroundManager improvements.

Fix another case of flashing when returning from a released state.

Reduce BackgroundManager impact on transitions (see comments for details).

b/19689219

Change-Id: I43c63cd599eab84c78bfa3161f2a5c23225b452b
3 files changed