fix SeekBarPreference support for summaries

Overriding getSummary breaks support for summaries even though it's
supported in the layout for SeekBarPreference. If there's no summary the
return value is already null in the inherited implementation.

Change-Id: I2e72ea3c4a624acbf200e9617173eb072572fa57
This commit is contained in:
Daniel Micay
2016-03-09 20:56:56 -05:00
parent c3cc890380
commit 084ee67b35

View File

@@ -78,11 +78,6 @@ public class SeekBarPreference extends Preference
seekBar.setEnabled(isEnabled());
}
@Override
public CharSequence getSummary() {
return null;
}
@Override
protected void onSetInitialValue(boolean restoreValue, Object defaultValue) {
setProgress(restoreValue ? getPersistedInt(mProgress)