am 37a0c07b
: Merge "Fixed crash in sim settings due to wrong toString() call." into lmp-mr1-dev
* commit '37a0c07b9b73b8d99c43cfdce2bd0b78fdec2a2a': Fixed crash in sim settings due to wrong toString() call.
This commit is contained in:
@@ -450,11 +450,11 @@ public class SimSettings extends RestrictedSettingsFragment implements Indexable
|
|||||||
setTitle(String.format(getResources()
|
setTitle(String.format(getResources()
|
||||||
.getString(R.string.sim_editor_title), (mSlotId + 1)));
|
.getString(R.string.sim_editor_title), (mSlotId + 1)));
|
||||||
if (mSubInfoRecord != null) {
|
if (mSubInfoRecord != null) {
|
||||||
if (TextUtils.isEmpty(mSubInfoRecord.getNumber().toString())) {
|
if (TextUtils.isEmpty(mSubInfoRecord.getNumber())) {
|
||||||
setSummary(mSubInfoRecord.getDisplayName());
|
setSummary(mSubInfoRecord.getDisplayName());
|
||||||
} else {
|
} else {
|
||||||
setSummary(mSubInfoRecord.getDisplayName() + " - " +
|
setSummary(mSubInfoRecord.getDisplayName() + " - " +
|
||||||
mSubInfoRecord.getNumber().toString());
|
mSubInfoRecord.getNumber());
|
||||||
setEnabled(true);
|
setEnabled(true);
|
||||||
}
|
}
|
||||||
setIcon(new BitmapDrawable(res, (mSubInfoRecord.createIconBitmap(mContext))));
|
setIcon(new BitmapDrawable(res, (mSubInfoRecord.createIconBitmap(mContext))));
|
||||||
|
Reference in New Issue
Block a user