Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 1113fdf2 authored by Lucas Dupin's avatar Lucas Dupin
Browse files

Change the color of keyguard scrims to black

Test: atest ScrimControllerTest
Bug: 111414690
Fixes: 122801774
Change-Id: If3c47d6b8bc22247b540a52f800ca332581d59c9
parent 92ed8d72
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -54,6 +54,8 @@ public enum ScrimState {
            } else {
                mAnimationDuration = ScrimController.ANIMATION_DURATION;
            }
            mCurrentInFrontTint = Color.BLACK;
            mCurrentBehindTint = Color.BLACK;
            mCurrentBehindAlpha = mScrimBehindAlphaKeyguard;
            mCurrentInFrontAlpha = 0;
        }
+1 −1
Original line number Diff line number Diff line
@@ -114,7 +114,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