[Bouncer] ensure bouncer not shown with doze state.

When doze state is no longer dozing, we were not resetting the bouncer
view. Here, when dozing state changes, we want to ensure that the
bouncer is not shown.

Fixes: 237822716
Test: Added a unit test and test manually.
Change-Id: If085851b5e3c8b15cdd4b0a2fce8cbb5e8f48035
(cherry picked from commit f348307f7ba56ac38d746cde837638dd623156c6)
Merged-In: If085851b5e3c8b15cdd4b0a2fce8cbb5e8f48035
2 files changed