Avoid ArrayIndexOutOfBoundsException thrown because of unexpected slot
Actually it is not expected to receive many slot information from the underlying implementation than expected. However, just making mUiccSlots[] throw ArrayIndexOutOfBoundsException is also not good. It is better to check the propagated slot information and put error log. Bug: 143918247 Test: Confirmed that unexpected slot does not cause the exception. Change-Id: I003bacfa442dd2da878f4082218e63e561bbb75c
Loading
Please register or sign in to comment