wallpaper: disallow draw wake lock during DOZE_SUSPEND

- Replicate ag/I1f96fddc37dc245efe75acc53fed474af6a5d2b8 in ViewRootImpl
- Draw wake lock shouldn't be held while display is in DOZE_SUSPEND

Flag: EXEMPT bugfix
Test: verify that no DRAW_WAKE_LOCK during DOZE_SUSPEND
Bug: 349886281
Bug: 349585193
Change-Id: I4bf5e2f2214978dbc54ea539786020ac91c5bf8b
1 file changed