Always show alt bouncer text in white

Because the scrim behind the alt bouncer is black

Test: manual
Fixes: 194743722
Change-Id: I61bc0ace4d4d88e3ea8f64a075b4572b870fe782
This commit is contained in:
Beverly
2021-09-29 13:51:54 -04:00
parent bbf8acb569
commit a4825477a7
2 changed files with 4 additions and 1 deletions

View File

@@ -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);
}

View File

@@ -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 {