Merge "Change the color of keyguard scrims to black"

This commit is contained in:
Lucas Dupin
2019-03-08 18:24:09 +00:00
committed by Android (Google) Code Review
2 changed files with 3 additions and 1 deletions

View File

@@ -54,6 +54,8 @@ public enum ScrimState {
} else {
mAnimationDuration = ScrimController.ANIMATION_DURATION;
}
mCurrentInFrontTint = Color.BLACK;
mCurrentBehindTint = Color.BLACK;
mCurrentBehindAlpha = mScrimBehindAlphaKeyguard;
mCurrentInFrontAlpha = 0;
}

View File

@@ -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