Skip to content

Commit c6e804e

Browse files
jhenrique09neobuddy89
authored andcommitted
AuthBiometricFingerprintView: Fix indicator text color on dark theme
Congrats Google Change-Id: I817e36a07bc0a1c559bb264e3da9a1bdb6eb6d07 Signed-off-by: Pranav Vashi <[email protected]>
1 parent e51ae93 commit c6e804e

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

packages/SystemUI/src/com/android/systemui/biometrics/AuthBiometricFingerprintView.java

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,8 @@ void onAttachedToWindowInternal() {
7878

7979
private void showTouchSensorString() {
8080
mIndicatorView.setText(R.string.fingerprint_dialog_touch_sensor);
81-
mIndicatorView.setTextColor(R.color.biometric_dialog_gray);
81+
mIndicatorView.setTextColor(getResources().getColor(
82+
R.color.biometric_dialog_gray, mContext.getTheme()));
8283
}
8384

8485
private void updateIcon(int lastState, int newState) {

0 commit comments

Comments
 (0)