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

Commit 7267aa04 authored by Jayachandran C's avatar Jayachandran C Committed by Android (Google) Code Review
Browse files

Merge "Display error dialog when mmi code is blocked by FDN."

parents dab7bc27 1f353771
Loading
Loading
Loading
Loading
+3 −2
Original line number Diff line number Diff line
@@ -4945,8 +4945,9 @@ public class CallsManager extends Call.ListenerBase
        if (call.getState() == CallState.DISCONNECTED && (isPotentialMMICode(call.getHandle())
                || isPotentialInCallMMICode(call.getHandle())) && !mCalls.contains(call)) {
            DisconnectCause disconnectCause = call.getDisconnectCause();
            if (!TextUtils.isEmpty(disconnectCause.getDescription()) && (disconnectCause.getCode()
                    == DisconnectCause.ERROR)) {
            if (!TextUtils.isEmpty(disconnectCause.getDescription()) && ((disconnectCause.getCode()
                    == DisconnectCause.ERROR) || (disconnectCause.getCode()
                    == DisconnectCause.RESTRICTED))) {
                Intent errorIntent = new Intent(mContext, ErrorDialogActivity.class);
                errorIntent.putExtra(ErrorDialogActivity.ERROR_MESSAGE_STRING_EXTRA,
                        disconnectCause.getDescription());