summaryrefslogtreecommitdiffstats
path: root/telephony
diff options
context:
space:
mode:
authorAlex Yakavenka <ayakav@codeaurora.org>2012-08-27 14:49:02 -0700
committerAlex Yakavenka <ayakav@codeaurora.org>2012-09-05 10:10:06 -0700
commit022668bf33ead5de5eb8633f0dea2b0f30455df6 (patch)
tree61f87c7b65df519e84271c05fdfc49100f11a565 /telephony
parentb307ceb43fa96e8d54851c20278a4344469c9269 (diff)
downloadframeworks_base-022668bf33ead5de5eb8633f0dea2b0f30455df6.zip
frameworks_base-022668bf33ead5de5eb8633f0dea2b0f30455df6.tar.gz
frameworks_base-022668bf33ead5de5eb8633f0dea2b0f30455df6.tar.bz2
Telephony: Clarify IccCardConstants.State enum
Change-Id: I57c6704dbefbcca5d1c6b28e72f0fb80bdbea7fc
Diffstat (limited to 'telephony')
-rw-r--r--telephony/java/com/android/internal/telephony/IccCardConstants.java11
1 files changed, 7 insertions, 4 deletions
diff --git a/telephony/java/com/android/internal/telephony/IccCardConstants.java b/telephony/java/com/android/internal/telephony/IccCardConstants.java
index 4d1eb3f..236bb2f 100644
--- a/telephony/java/com/android/internal/telephony/IccCardConstants.java
+++ b/telephony/java/com/android/internal/telephony/IccCardConstants.java
@@ -47,10 +47,13 @@ public class IccCardConstants {
/* PERM_DISABLED means ICC is permanently disabled due to puk fails */
public static final String INTENT_VALUE_ABSENT_ON_PERM_DISABLED = "PERM_DISABLED";
- /*
- UNKNOWN is a transient state, for example, after uesr inputs ICC pin under
- PIN_REQUIRED state, the query for ICC status returns UNKNOWN before it
- turns to READY
+ /**
+ * This is combination of IccCardStatus.CardState and IccCardApplicationStatus.AppState
+ * for external apps (like PhoneApp) to use
+ *
+ * UNKNOWN is a transient state, for example, after user inputs ICC pin under
+ * PIN_REQUIRED state, the query for ICC status returns UNKNOWN before it
+ * turns to READY
*/
public enum State {
UNKNOWN,