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

Commit 099060fa authored by TreeHugger Robot's avatar TreeHugger Robot Committed by Automerger Merge Worker
Browse files

Merge "Always show alt bouncer text in white" into sc-v2-dev am: 9f1752d9

Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/15941639

Change-Id: Ia93eca6fa7ccb54bc4d9cd684991b0b63b7d27eb
parents 15f4b261 9f1752d9
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 {