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

Commit b76d3d09 authored by TreeHugger Robot's avatar TreeHugger Robot Committed by Android (Google) Code Review
Browse files

Merge "Fix ClassCastException : ar.result can't be cast to Integer"

parents 3dee82f9 d5eaab92
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -1382,7 +1382,8 @@ public final class ImsPhoneMmiCode extends Handler implements MmiCode {
            } else if (ar.exception instanceof ImsException) {
                sb.append(getImsErrorMessage(ar));
            }
        } else if (ar.result != null && (int) ar.result == CommandsInterface.SS_STATUS_UNKNOWN) {
        } else if (ar.result != null && ar.result instanceof Integer
                && (int) ar.result == CommandsInterface.SS_STATUS_UNKNOWN) {
            mState = State.FAILED;
            sb = null;
        } else if (isActivate()) {