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:
@@ -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);
|
||||
}
|
||||
|
||||
|
||||
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user