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

Commit 112f2802 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
Merged-In: I040363ce94c8461f25920e750a31a4a5fd9f999e
parent 50ddc3c2
Loading
Loading
Loading
Loading
+5 −0
Original line number Diff line number Diff line
@@ -1583,6 +1583,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;