commit | de64ee0126675a1175d14badb258943f491991b8 | [log] [tgz] |
---|---|---|
author | Lucas Dupin <dupin@google.com> | Fri Dec 21 14:45:12 2018 -0800 |
committer | Lucas Dupin <dupin@google.com> | Wed Dec 26 13:28:41 2018 -0800 |
tree | 3eb2cd9211377a8cd4ccd8a7f5c9b276b8eda806 | |
parent | ce441748acceca8055945615915a7425bbf93602 [diff] [blame] |
make wake event trigger a pulse Test: manual Test: atest ScrimControllerTest Bug: 111405682 Bug: 111395593 Change-Id: I5a7b9024ecd5aea691ac5e3f23e70818186fc37c
diff --git a/packages/SystemUI/tests/src/com/android/systemui/statusbar/phone/ScrimControllerTest.java b/packages/SystemUI/tests/src/com/android/systemui/statusbar/phone/ScrimControllerTest.java index 0bc304e..146c5d6 100644 --- a/packages/SystemUI/tests/src/com/android/systemui/statusbar/phone/ScrimControllerTest.java +++ b/packages/SystemUI/tests/src/com/android/systemui/statusbar/phone/ScrimControllerTest.java
@@ -220,9 +220,9 @@ mScrimController.transitionTo(ScrimState.PULSING); mScrimController.finishAnimationsImmediately(); // Front scrim should be transparent - // Back scrim should be visible with tint + // Back scrim should be semi-transparent so the user can see the wallpaper // Pulse callback should have been invoked - assertScrimVisibility(VISIBILITY_FULLY_TRANSPARENT, VISIBILITY_FULLY_OPAQUE); + assertScrimVisibility(VISIBILITY_FULLY_TRANSPARENT, VISIBILITY_SEMI_TRANSPARENT); assertScrimTint(mScrimBehind, true /* tinted */); }