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

Commit 81f2d9fe authored by Tyler Gunn's avatar Tyler Gunn
Browse files

Ensure call forwarding and barring MMI codes can work over IMS.

The code included a mDialingNumber != null check which would prevent
call forwarding and call barring codes from ever being handled over IMS.
E.g. *30#6505551212 should be handled because it is a valid SC_CLIP
request, but the 6505551212 dialing number would prevent this from going
over IMS.

Test: Dialed MMI code and verified it goes over IMS.
Merged-In: I0aa5ccbf020c6f9606d193ef944d4458c6f6c355
Change-Id: I4bc93085a9c012d80fcce67c65b851995cfe8996
Fixes: 38439766
parent ee2b0302
Loading
Loading
Loading
Loading
+0 −1
Original line number Diff line number Diff line
@@ -723,7 +723,6 @@ public final class ImsPhoneMmiCode extends Handler implements MmiCode {
    boolean
    isSupportedOverImsPhone() {
        if (isShortCode()) return true;
        else if (mDialingNumber != null) return false;
        else if (isServiceCodeCallForwarding(mSc)
                || isServiceCodeCallBarring(mSc)
                || (mSc != null && mSc.equals(SC_WAIT))