From d42f945a3ce0205a98845ea3db7eaa653efd1c66 Mon Sep 17 00:00:00 2001 From: Wink Saville Date: Mon, 26 May 2014 09:01:20 -0700 Subject: [PATCH] Hide LogicalChannel operations developer preview. Bug: 15193354 Change-Id: I0e41ab7bd8bb3aab9af855f022cb89349802f63f --- api/current.txt | 4 ---- telephony/java/android/telephony/TelephonyManager.java | 8 ++++++++ 2 files changed, 8 insertions(+), 4 deletions(-) diff --git a/api/current.txt b/api/current.txt index 46a8470e1b097..8be1c8ef26f6e 100644 --- a/api/current.txt +++ b/api/current.txt @@ -28205,12 +28205,8 @@ package android.telephony { method public java.lang.String getVoiceMailAlphaTag(); method public java.lang.String getVoiceMailNumber(); method public boolean hasIccCard(); - method public boolean iccCloseLogicalChannel(int); - method public int iccOpenLogicalChannel(java.lang.String); - method public java.lang.String iccTransmitApduLogicalChannel(int, int, int, int, int, int, java.lang.String); method public boolean isNetworkRoaming(); method public void listen(android.telephony.PhoneStateListener, int); - method public java.lang.String sendEnvelopeWithStatus(java.lang.String); field public static final java.lang.String ACTION_PHONE_STATE_CHANGED = "android.intent.action.PHONE_STATE"; field public static final java.lang.String ACTION_RESPOND_VIA_MESSAGE = "android.intent.action.RESPOND_VIA_MESSAGE"; field public static final int CALL_STATE_IDLE = 0; // 0x0 diff --git a/telephony/java/android/telephony/TelephonyManager.java b/telephony/java/android/telephony/TelephonyManager.java index 4aed1fef16aad..2483419a62fb7 100644 --- a/telephony/java/android/telephony/TelephonyManager.java +++ b/telephony/java/android/telephony/TelephonyManager.java @@ -1752,6 +1752,8 @@ public class TelephonyManager { * * @param AID Application id. See ETSI 102.221 and 101.220. * @return The logical channel id which is negative on error. + * + * @hide */ public int iccOpenLogicalChannel(String AID) { try { @@ -1773,6 +1775,8 @@ public class TelephonyManager { * @param channel is the channel id to be closed as retruned by a successful * iccOpenLogicalChannel. * @return true if the channel was closed successfully. + * + * @hide */ public boolean iccCloseLogicalChannel(int channel) { try { @@ -1802,6 +1806,8 @@ public class TelephonyManager { * @param data Data to be sent with the APDU. * @return The APDU response from the ICC card with the status appended at * the end. If an error occurs, an empty string is returned. + * + * @hide */ public String iccTransmitApduLogicalChannel(int channel, int cla, int instruction, int p1, int p2, int p3, String data) { @@ -1826,6 +1832,8 @@ public class TelephonyManager { * @return The APDU response from the ICC card, with the last 4 bytes * being the status word. If the command fails, returns an empty * string. + * + * @hide */ public String sendEnvelopeWithStatus(String content) { try {