Support caption second UI structure (4/n)
Always show preview text on windows. Bug: 143502915 Test: manual Change-Id: I65b48373905fc59a664c51500613f1dc509b5c8f
This commit is contained in:
@@ -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;
|
||||
|
||||
|
Reference in New Issue
Block a user