Merge "Fix ListPreference title cutted off problem" into main

This commit is contained in:
Treehugger Robot
2023-11-08 08:42:48 +00:00
committed by Android (Google) Code Review
2 changed files with 0 additions and 2 deletions

View File

@@ -37,7 +37,6 @@ public class CustomListPreference extends ListPreference {
public CustomListPreference(Context context, AttributeSet attrs) { public CustomListPreference(Context context, AttributeSet attrs) {
super(context, attrs); super(context, attrs);
setSingleLineTitle(true);
} }
public CustomListPreference(Context context, AttributeSet attrs, int defStyleAttr, public CustomListPreference(Context context, AttributeSet attrs, int defStyleAttr,

View File

@@ -45,7 +45,6 @@ class SpellCheckerPreference extends CustomListPreference {
public SpellCheckerPreference(final Context context, final SpellCheckerInfo[] scis) { public SpellCheckerPreference(final Context context, final SpellCheckerInfo[] scis) {
super(context, null); super(context, null);
setSingleLineTitle(false);
mScis = scis; mScis = scis;
setWidgetLayoutResource(R.layout.preference_widget_gear); setWidgetLayoutResource(R.layout.preference_widget_gear);
CharSequence[] labels = new CharSequence[scis.length]; CharSequence[] labels = new CharSequence[scis.length];