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

Commit 88302ff9 authored by TimoDo's avatar TimoDo Committed by Nishith Khanna
Browse files

SystemUI: Fix auth scrim turning black in white theme

before:
https://i.imgur.com/cA6rlEm.png
https://i.imgur.com/UR8h7l1.png

after:
https://i.imgur.com/2fSfU2W.png
https://i.imgur.com/k1SBPdX.png



Change-Id: I6829f8179b1e28e58ec36c9225fb6a63b64c8c16
Signed-off-by: default avatarJyotiraditya Panda <jyotiraditya@aospa.co>

Fix AUTH_SCRIMMED state too.

Change-Id: I3262b5bac4ce3202704003eaffdfde13f860265e
parent 334d51ae
Loading
Loading
Loading
Loading
+3 −3
Original line number Diff line number Diff line
@@ -97,7 +97,7 @@ public enum ScrimState {
            mFrontTint = mBackgroundColor;
            mFrontAlpha = .66f;

            mBehindTint = mBackgroundColor;
            mBehindTint = Color.TRANSPARENT;
            mBehindAlpha = 1f;
        }
    },
@@ -108,8 +108,8 @@ public enum ScrimState {
            mNotifTint = previousState.mNotifTint;
            mNotifAlpha = previousState.mNotifAlpha;

            mBehindTint = previousState.mBehindTint;
            mBehindAlpha = previousState.mBehindAlpha;
            mBehindTint = Color.TRANSPARENT;
            mBehindAlpha = 1f;

            mFrontTint = mBackgroundColor;
            mFrontAlpha = .66f;