Merge "Revert "Revert "Revert "Replace dynamic summary text for SettingPref"""" into oc-dev am: b8028f63ec

am: 64736b6ae1

Change-Id: I7267309d17ae503144eb11789888937af6c8a0e1
This commit is contained in:
Matthew Fritze
2017-06-06 18:13:41 +00:00
committed by android-build-merger
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));
}
}