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

Commit 20edac3c authored by Linux Build Service Account's avatar Linux Build Service Account Committed by Gerrit - the friendly Code Review server
Browse files

Merge "Uicc: Fix NullPointerException issue after turn on airplane mode"

parents de79a732 6de38fdd
Loading
Loading
Loading
Loading
+6 −2
Original line number Diff line number Diff line
@@ -353,8 +353,12 @@ public final class AdnRecordCache extends Handler implements IccConstants {
                Message response = mUserWriteResponse.get(efid);
                mUserWriteResponse.delete(efid);

                // response may be cleared when simrecord is reset,
                // so we should check if it is null.
                if (response != null) {
                    AsyncResult.forMessage(response, null, ar.exception);
                    response.sendToTarget();
                }
                break;
        }