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

Commit b18b637b authored by Jean Chen's avatar Jean Chen Committed by Android (Google) Code Review
Browse files

Merge "Support caption second UI structure (4/n)"

parents 5c9a3725 04fe3260
Loading
Loading
Loading
Loading
+0 −6
Original line number Diff line number Diff line
@@ -122,10 +122,6 @@ public class CaptionAppearanceFragment extends SettingsPreferenceFragment
        refreshPreviewText();
    }

    private void refreshPreferenceViewEnabled(boolean enabled) {
        mPreviewText.setVisibility(enabled ? View.VISIBLE : View.INVISIBLE);
    }

    private void refreshPreviewText() {
        final Context context = getActivity();
        if (context == null) {
@@ -217,8 +213,6 @@ public class CaptionAppearanceFragment extends SettingsPreferenceFragment
        mPreferenceList.add(mFontSize);
        mPreferenceList.add(mPreset);

        refreshPreferenceViewEnabled(mCaptioningManager.isEnabled());

        mCustom = (PreferenceCategory) findPreference(PREF_CUSTOM);
        mShowingCustom = true;