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

Commit a3460894 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 am: 099060fa

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

Change-Id: Id8854e4d3da1c7bb85702b0b11e62b80364b3945
parents c4f3110b 099060fa
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 {