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

Commit 103b42ec 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.
Change-Id: I4bc93085a9c012d80fcce67c65b851995cfe8996
Fixes: 38439766
parent 4007c2ef
Loading
Loading
Loading
Loading
+0 −1
Original line number Diff line number Diff line
@@ -722,7 +722,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))