Loading packages/SystemUI/src/com/android/systemui/statusbar/phone/ScrimState.java +2 −0 Original line number Diff line number Diff line Loading @@ -54,6 +54,8 @@ public enum ScrimState { } else { mAnimationDuration = ScrimController.ANIMATION_DURATION; } mCurrentInFrontTint = Color.BLACK; mCurrentBehindTint = Color.BLACK; mCurrentBehindAlpha = mScrimBehindAlphaKeyguard; mCurrentInFrontAlpha = 0; } Loading packages/SystemUI/tests/src/com/android/systemui/statusbar/phone/ScrimControllerTest.java +1 −1 Original line number Diff line number Diff line Loading @@ -116,7 +116,7 @@ public class ScrimControllerTest extends SysuiTestCase { // Front scrim should be transparent // Back scrim should be visible without tint assertScrimVisibility(VISIBILITY_FULLY_TRANSPARENT, VISIBILITY_SEMI_TRANSPARENT); assertScrimTint(mScrimBehind, false /* tinted */); assertScrimTint(mScrimBehind, true /* tinted */); } @Test Loading Loading
packages/SystemUI/src/com/android/systemui/statusbar/phone/ScrimState.java +2 −0 Original line number Diff line number Diff line Loading @@ -54,6 +54,8 @@ public enum ScrimState { } else { mAnimationDuration = ScrimController.ANIMATION_DURATION; } mCurrentInFrontTint = Color.BLACK; mCurrentBehindTint = Color.BLACK; mCurrentBehindAlpha = mScrimBehindAlphaKeyguard; mCurrentInFrontAlpha = 0; } Loading
packages/SystemUI/tests/src/com/android/systemui/statusbar/phone/ScrimControllerTest.java +1 −1 Original line number Diff line number Diff line Loading @@ -116,7 +116,7 @@ public class ScrimControllerTest extends SysuiTestCase { // Front scrim should be transparent // Back scrim should be visible without tint assertScrimVisibility(VISIBILITY_FULLY_TRANSPARENT, VISIBILITY_SEMI_TRANSPARENT); assertScrimTint(mScrimBehind, false /* tinted */); assertScrimTint(mScrimBehind, true /* tinted */); } @Test Loading