Merge "Fix mvno data field summary not update issue"
This commit is contained in:
@@ -754,6 +754,9 @@ public class ApnEditor extends SettingsPreferenceFragment
|
|||||||
telephonyManager = telephonyManagerForSubId;
|
telephonyManager = telephonyManagerForSubId;
|
||||||
}
|
}
|
||||||
mMvnoMatchData.setText(telephonyManager.getGroupIdLevel1());
|
mMvnoMatchData.setText(telephonyManager.getGroupIdLevel1());
|
||||||
|
} else {
|
||||||
|
// mvno type 'none' case. At this time, mvnoIndex should be 0.
|
||||||
|
mMvnoMatchData.setText("");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -805,6 +808,7 @@ public class ApnEditor extends SettingsPreferenceFragment
|
|||||||
}
|
}
|
||||||
mMvnoType.setValue((String) newValue);
|
mMvnoType.setValue((String) newValue);
|
||||||
mMvnoType.setSummary(mvno);
|
mMvnoType.setSummary(mvno);
|
||||||
|
mMvnoMatchData.setSummary(checkNull(mMvnoMatchData.getText()));
|
||||||
} else if (KEY_PASSWORD.equals(key)) {
|
} else if (KEY_PASSWORD.equals(key)) {
|
||||||
mPassword.setSummary(starify(newValue != null ? String.valueOf(newValue) : ""));
|
mPassword.setSummary(starify(newValue != null ? String.valueOf(newValue) : ""));
|
||||||
} else if (KEY_CARRIER_ENABLED.equals(key)) {
|
} else if (KEY_CARRIER_ENABLED.equals(key)) {
|
||||||
|
Reference in New Issue
Block a user