Fix issue where notifications should not animate

Displays that take a long time to turn off should not animate
the notification panel expanding and collapsing when pressing
power.

In this case, onDozeChanged was arriving before animations
could be disabled, causing NSSL to create position animstions
instead of just setting them atommically.

Test: press power from LS or home on two different types of devices
Fixes: 132719955
Change-Id: I51fa046d38835866f6890f44bb6bacd4d5ff2a95
1 file changed