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

Commit c5411007 authored by Josh Hou's avatar Josh Hou
Browse files

Get the correct MDN from ImsPhone

Use default phone of ImsPhone to get the correct MDN

Bug: 156617354
Test: Manual
Change-Id: I0431dd414c04673989aa81cabbd884d051a6ab7a
parent 1660de58
Loading
Loading
Loading
Loading
+5 −0
Original line number Diff line number Diff line
@@ -1470,6 +1470,11 @@ public class ImsPhone extends ImsPhoneBase {
        return cfInfo;
    }

    @Override
    public String getLine1Number() {
        return mDefaultPhone.getLine1Number();
    }

    /**
     * Used to Convert ImsCallForwardInfo[] to CallForwardInfo[].
     * Update received call forward status to default IccRecords.
+0 −5
Original line number Diff line number Diff line
@@ -336,11 +336,6 @@ abstract class ImsPhoneBase extends Phone {
        return null;
    }

    @Override
    public String getLine1Number() {
        return null;
    }

    @Override
    public String getLine1AlphaTag() {
        return null;