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

Commit ae32a290 authored by Sandeep Gutta's avatar Sandeep Gutta
Browse files

Fix multiple ussd failure messages issue

When USSD_CANCEL response received, move MMI object state
to State.CANCELLED if it is in different state.
This is not to display multiple error message when user
cancel USSD session.

Change-Id: Iedcb7ee498e6282427170b0c4145d2926c29eaea
CRs-Fixed: 823479
parent f17bbcc6
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
@@ -1134,6 +1134,9 @@ public final class GsmMmiCode extends Handler implements MmiCode {
            break;

            case EVENT_USSD_CANCEL_COMPLETE:
                if (mState != State.CANCELLED) {
                    mState = State.CANCELLED;
                }
                mPhone.onMMIDone(this);
            break;
        }