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

Commit 2eb4c706 authored by arunvoddu's avatar arunvoddu
Browse files

[UICC] Fix NPE when reading port index without a SIM.

A NullPointerException would occur when trying to read the port index
from a UiccSlot when no SIM card was present.
This change adds the necessary null checks to prevent the crash.

Bug: 436942206
Test: tests/telephonytests/src/com/android/internal/telephony/uicc/UiccControllerTest.java
Flag: EXEMPT bugfix
Change-Id: I8a412a18f1878280737128a87d30fc87098f4b0c
parent 2e8d6236
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment