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

Commit aeed43c3 authored by TreeHugger Robot's avatar TreeHugger Robot Committed by Android (Google) Code Review
Browse files

Merge "BiometricDialogView should update text when locale changes"

parents 6641898e 9fa251ea
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -167,7 +167,6 @@ public abstract class BiometricDialogView extends LinearLayout {
        final ImageView icon = mLayout.findViewById(R.id.biometric_icon);

        icon.setContentDescription(getResources().getString(getIconDescriptionResourceId()));
        mErrorText.setText(getResources().getString(getHintStringResourceId()));

        setDismissesDialog(space);
        setDismissesDialog(leftSpace);
@@ -189,6 +188,8 @@ public abstract class BiometricDialogView extends LinearLayout {
    public void onAttachedToWindow() {
        super.onAttachedToWindow();

        mErrorText.setText(getHintStringResourceId());

        final TextView title = mLayout.findViewById(R.id.title);
        final TextView subtitle = mLayout.findViewById(R.id.subtitle);
        final TextView description = mLayout.findViewById(R.id.description);