OSDN Git Service

Keep scrim black when "always on" is off
authorLucas Dupin <dupin@google.com>
Sat, 19 May 2018 00:24:52 +0000 (17:24 -0700)
committerLucas Dupin <dupin@google.com>
Mon, 21 May 2018 17:14:23 +0000 (10:14 -0700)
commit69bda6014fd5a4c70a99906675cfdc394a275376
tree0b715a02003eef021c9dd0ee851ac80cc9a76441
parent6f67f7d89a0e783d5555e098309a426ba21cd450
Keep scrim black when "always on" is off

The first frame when waking up is expensive and we
need a black scrim hiding what was left behind.

Bug: 78022321
Test: atest packages/SystemUI/tests/src/com/android/systemui/statusbar/phone/ScrimControllerTest.java
Change-Id: I99e2b7960daf2cbe51bec6aee4b15c74d532078c
packages/SystemUI/src/com/android/systemui/statusbar/phone/ScrimController.java
packages/SystemUI/tests/src/com/android/systemui/statusbar/phone/ScrimControllerTest.java