summaryrefslogtreecommitdiffstats
path: root/telephony
diff options
context:
space:
mode:
authorJaikumar Ganesh <jaikumar@google.com>2009-08-18 19:00:43 -0700
committerJaikumar Ganesh <jaikumar@google.com>2009-08-18 19:00:43 -0700
commit41e7363f98964a27e194f8cb6d3c2cb04e7ee090 (patch)
tree52ad693756428bab4bf0b877f1000352676265c0 /telephony
parent062292b9804827258388ad972fa1159e6f92c46f (diff)
downloadframeworks_base-41e7363f98964a27e194f8cb6d3c2cb04e7ee090.zip
frameworks_base-41e7363f98964a27e194f8cb6d3c2cb04e7ee090.tar.gz
frameworks_base-41e7363f98964a27e194f8cb6d3c2cb04e7ee090.tar.bz2
Return ICC Card ABSENT instead of NOT_READY when it is not present.
Diffstat (limited to 'telephony')
-rw-r--r--telephony/java/com/android/internal/telephony/IccCard.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/telephony/java/com/android/internal/telephony/IccCard.java b/telephony/java/com/android/internal/telephony/IccCard.java
index c2bed88..6657060 100644
--- a/telephony/java/com/android/internal/telephony/IccCard.java
+++ b/telephony/java/com/android/internal/telephony/IccCard.java
@@ -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();