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

Commit a4825477 authored by Beverly's avatar Beverly
Browse files

Always show alt bouncer text in white

Because the scrim behind the alt bouncer is black

Test: manual
Fixes: 194743722
Change-Id: I61bc0ace4d4d88e3ea8f64a075b4572b870fe782
parent bbf8acb5
Loading
Loading
Loading
Loading
+4 −0
Original line number Diff line number Diff line
@@ -153,6 +153,10 @@ public class KeyguardMessageArea extends TextView implements SecurityMessageDisp
            colorState = mNextMessageColorState;
            mNextMessageColorState = ColorStateList.valueOf(DEFAULT_COLOR);
        }
        if (mAltBouncerShowing) {
            // alt bouncer has a black scrim, so always show the text in white
            colorState = ColorStateList.valueOf(Color.WHITE);
        }
        setTextColor(colorState);
    }

+0 −1
Original line number Diff line number Diff line
@@ -1149,7 +1149,6 @@ public class StatusBarKeyguardViewManager implements RemoteInputController.Callb
    public void showBouncerMessage(String message, ColorStateList colorState) {
        if (isShowingAlternateAuth()) {
            if (mKeyguardMessageAreaController != null) {
                mKeyguardMessageAreaController.setNextMessageColor(colorState);
                mKeyguardMessageAreaController.setMessage(message);
            }
        } else {