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

Commit 5ae0b567 authored by Josh Hou's avatar Josh Hou
Browse files

Add the protection for null pointer exception

Bug: 159069366
Test: Build pass
Change-Id: I8e2319e6c7de845697761557180861787ce777da
parent 63054caf
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -1369,7 +1369,7 @@ public final class ImsPhoneMmiCode extends Handler implements MmiCode {
            } else if (ar.exception instanceof ImsException) {
                sb.append(getImsErrorMessage(ar));
            }
        } else if ((int)ar.result == CommandsInterface.SS_STATUS_UNKNOWN) {
        } else if (ar.result != null && (int) ar.result == CommandsInterface.SS_STATUS_UNKNOWN) {
            mState = State.FAILED;
            sb = null;
        } else if (isActivate()) {