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

Commit 6916d439 authored by fionaxu's avatar fionaxu
Browse files

fix the issue of ussd not working under GSM

bug: 27530386
Change-Id: Id2880adb3e926ae2eaea6a27926a92c76f7ca1df
parent 7215585b
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -1845,8 +1845,8 @@ public class GsmCdmaPhone extends Phone {
         * The exception is cancellation of an incoming USSD-REQUEST, which is
         * not on the list.
         */
        if (mPendingMMIs.remove(mmi) && (!isPhoneTypeGsm() || mmi.isUssdRequest() ||
                ((GsmMmiCode)mmi).isSsInfo())) {
        if (mPendingMMIs.remove(mmi) || (isPhoneTypeGsm() && (mmi.isUssdRequest() ||
                ((GsmMmiCode)mmi).isSsInfo()))) {
            mMmiCompleteRegistrants.notifyRegistrants(new AsyncResult(null, mmi, null));
        }
    }