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

Commit 1fb468b7 authored by Ashit Sood's avatar Ashit Sood
Browse files

IMS: Adding support for TIR/TIP permanent provisioning

- Updating TIR/TIP response logic to check
  for permanent provisioning and display the
  correct error message, when we receive
  permanent provisioning.

Test: Manual
Bug: 79133104
Change-Id: Ifcc8768ea87e1c8bf5d0f58271556ab7f97367d8
parent c8baaba0
Loading
Loading
Loading
Loading
+5 −1
Original line number Diff line number Diff line
@@ -1480,7 +1480,11 @@ public final class ImsPhoneMmiCode extends Handler implements MmiCode {
                if (ssInfo != null) {
                    Rlog.d(LOG_TAG,
                            "onSuppSvcQueryComplete: ImsSsInfo mStatus = " + ssInfo.getStatus());
                    if (ssInfo.getStatus() == ImsSsInfo.DISABLED) {
                    if (ssInfo.getProvisionStatus() == ImsSsInfo.SERVICE_NOT_PROVISIONED) {
                        sb.append(mContext.getText(
                                com.android.internal.R.string.serviceNotProvisioned));
                        mState = State.COMPLETE;
                    } else if (ssInfo.getStatus() == ImsSsInfo.DISABLED) {
                        sb.append(mContext.getText(com.android.internal.R.string.serviceDisabled));
                        mState = State.COMPLETE;
                    } else if (ssInfo.getStatus() == ImsSsInfo.ENABLED) {