Keyguard error color

Use the correct attr for text color regarding KeyguardMessageArea
content

Fixes: 182857845
Test: manual, bad PIN unlock
Change-Id: I2b867eec4f97995526d046ddbb2cef8fc269466f
This commit is contained in:
Matt Pietal
2021-03-24 14:55:13 -04:00
parent 2e998fc497
commit 69e6e2ec49

View File

@@ -70,7 +70,7 @@ public class KeyguardMessageArea extends TextView implements SecurityMessageDisp
void onThemeChanged() {
TypedArray array = mContext.obtainStyledAttributes(new int[] {
android.R.attr.textColor
android.R.attr.textColorPrimary
});
ColorStateList newTextColors = ColorStateList.valueOf(array.getColor(0, Color.RED));
array.recycle();