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

Commit 77165f6d authored by Alan Viverette's avatar Alan Viverette Committed by Android (Google) Code Review
Browse files

Merge "Restore default locale in Captioning Settings" into klp-dev

parents c26f2615 c402322a
Loading
Loading
Loading
Loading
+4 −0
Original line number Diff line number Diff line
@@ -92,6 +92,8 @@ public class ToggleCaptioningPreferenceFragment extends Fragment {
                final CharSequence localizedText = AccessibilityUtils.getTextForLocale(
                        activity, locale, R.string.captioning_preview_text);
                preview.setText(localizedText);
            } else {
                preview.setText(R.string.captioning_preview_text);
            }
        }
    }
@@ -110,6 +112,8 @@ public class ToggleCaptioningPreferenceFragment extends Fragment {
            final CharSequence localizedText = AccessibilityUtils.getTextForLocale(
                    context, locale, R.string.captioning_preview_characters);
            previewText.setText(localizedText);
        } else {
            previewText.setText(R.string.captioning_preview_characters);
        }
    }