diff options
author | Shishir Agrawal <shishir@google.com> | 2014-08-25 08:53:29 -0700 |
---|---|---|
committer | Shishir Agrawal <shishir@google.com> | 2014-08-25 09:09:41 -0700 |
commit | ef489ef8ef1ccb283485d2c308cef58067654cb2 (patch) | |
tree | 57d7133f0870ec7628f45a38745d901517aaa614 /telephony | |
parent | 7af40415dc2aa510bdb483519726aa3ae75bd765 (diff) | |
download | frameworks_base-ef489ef8ef1ccb283485d2c308cef58067654cb2.zip frameworks_base-ef489ef8ef1ccb283485d2c308cef58067654cb2.tar.gz frameworks_base-ef489ef8ef1ccb283485d2c308cef58067654cb2.tar.bz2 |
Modify IccOpenLogicalChannelResponse: Document and rename constants.
Bug: 17189780
Change-Id: Iac96e3bc7265d20f21b29d4a05b615c5ff3cdd6e
Diffstat (limited to 'telephony')
-rw-r--r-- | telephony/java/android/telephony/IccOpenLogicalChannelResponse.java | 21 |
1 files changed, 15 insertions, 6 deletions
diff --git a/telephony/java/android/telephony/IccOpenLogicalChannelResponse.java b/telephony/java/android/telephony/IccOpenLogicalChannelResponse.java index e9db030..dbe38ea 100644 --- a/telephony/java/android/telephony/IccOpenLogicalChannelResponse.java +++ b/telephony/java/android/telephony/IccOpenLogicalChannelResponse.java @@ -24,14 +24,23 @@ import android.os.Parcelable; * Response to the {@link TelephonyManager#iccOpenLogicalChannel} command. */ public class IccOpenLogicalChannelResponse implements Parcelable { - // Indicates an invalid channel. + /** + * Indicates an invalid channel. + */ public static int INVALID_CHANNEL = -1; - // Possible status values. - public static int NO_ERROR = 1; - public static int MISSING_RESOURCE = 2; - public static int NO_SUCH_ELEMENT = 3; - public static int UNKNOWN_ERROR = 4; + /** + * Possible status values returned by open channel command. + * + * STATUS_NO_ERROR: Open channel command returned successfully. + * STATUS_MISSING_RESOURCE: No logical channels available. + * STATUS_NO_SUCH_ELEMENT: AID not found on UICC. + * STATUS_UNKNOWN_ERROR: Unknown error in open channel command. + */ + public static int STATUS_NO_ERROR = 1; + public static int STATUS_MISSING_RESOURCE = 2; + public static int STATUS_NO_SUCH_ELEMENT = 3; + public static int STATUS_UNKNOWN_ERROR = 4; private final int mChannel; private final int mStatus; |