Return ICC Card ABSENT instead of NOT_READY when it is not present.

This commit is contained in:
Jaikumar Ganesh
2009-08-18 19:00:43 -07:00
parent 062292b980
commit 41e7363f98

View File

@@ -595,7 +595,7 @@ public abstract class IccCard {
// this is common for all radio technologies
if (!mIccCardStatus.getCardState().isCardPresent()) {
return IccCard.State.NOT_READY;
return IccCard.State.ABSENT;
}
RadioState currentRadioState = mPhone.mCM.getRadioState();