Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 37a0c07b authored by Sanket Padawe's avatar Sanket Padawe Committed by Android (Google) Code Review
Browse files

Merge "Fixed crash in sim settings due to wrong toString() call." into lmp-mr1-dev

parents 430e01d0 e06387ff
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -450,11 +450,11 @@ public class SimSettings extends RestrictedSettingsFragment implements Indexable
            setTitle(String.format(getResources()
                    .getString(R.string.sim_editor_title), (mSlotId + 1)));
            if (mSubInfoRecord != null) {
                if (TextUtils.isEmpty(mSubInfoRecord.getNumber().toString())) {
                if (TextUtils.isEmpty(mSubInfoRecord.getNumber())) {
                   setSummary(mSubInfoRecord.getDisplayName());
                } else {
                    setSummary(mSubInfoRecord.getDisplayName() + " - " +
                            mSubInfoRecord.getNumber().toString());
                            mSubInfoRecord.getNumber());
                    setEnabled(true);
                }
                setIcon(new BitmapDrawable(res, (mSubInfoRecord.createIconBitmap(mContext))));