Wake up wallpaper even if there's a notification
Isolated a bright pulse from a regular pulse (dark wallpaper)
and created a new machine state for the new case.
The state is also propagated to ScrimController, in order to
understand if the wallpaper should be dimmed down or not.
Fixes: 123991469
Test: receive notification, trigger sensor
Test: other manual notification tests
Test: repeat with image wallpaper and live wallpaper
Test: atest ScrimControllerTest
Test: atest DozeWallpaperStateTest
Change-Id: I6b54615dd6c7ecadf7dffd2d61ae7f93390d4c97
13 files changed