Revert "Replace dynamic summary text for SettingPref"

This reverts commit 03dfa50996.

Change-Id: I1f7188b35ad657f3d9721bab3bbdec697d3c1ae3
Bug: 36101902
Fixes: 38352100
This commit is contained in:
Matthew Fritze
2017-05-17 02:48:24 +00:00
parent 03dfa50996
commit 8061aaef62
5 changed files with 4 additions and 83 deletions

View File

@@ -121,19 +121,6 @@ public class SettingPref {
if (mTwoState != null) {
mTwoState.setChecked(val != 0);
} else if (mDropDown != null) {
if (mValues != null) {
int index = 0;
for (int len = mValues.length; index < len; index++) {
if (mValues[index] == val) {
break;
}
}
if (index < mValues.length) {
CharSequence entry = mDropDown.getEntries()[index];
mDropDown.setSummary(entry);
}
}
mDropDown.setValue(Integer.toString(val));
}
}