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

Commit de1fcd49 authored by Jaikumar Ganesh's avatar Jaikumar Ganesh
Browse files

Return null if SIM doesn't have the MSISDN Aplha tag.

This makes both the GSM and CDMA version compatible.

Bug: 2247067
Dr No: jsh
parent 609bbf18
Loading
Loading
Loading
Loading
+1 −10
Original line number Diff line number Diff line
@@ -879,16 +879,7 @@ public class GSMPhone extends PhoneBase {
    }

    public String getLine1AlphaTag() {
        String ret;

        ret = mSIMRecords.getMsisdnAlphaTag();

        if (ret == null || ret.length() == 0) {
            return mContext.getText(
                    com.android.internal.R.string.defaultMsisdnAlphaTag).toString();
        }

        return ret;
        return mSIMRecords.getMsisdnAlphaTag();
    }

    public void setLine1Number(String alphaTag, String number, Message onComplete) {