Merge "Change the color of keyguard scrims to black"
This commit is contained in:
@@ -54,6 +54,8 @@ public enum ScrimState {
|
||||
} else {
|
||||
mAnimationDuration = ScrimController.ANIMATION_DURATION;
|
||||
}
|
||||
mCurrentInFrontTint = Color.BLACK;
|
||||
mCurrentBehindTint = Color.BLACK;
|
||||
mCurrentBehindAlpha = mScrimBehindAlphaKeyguard;
|
||||
mCurrentInFrontAlpha = 0;
|
||||
}
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user