Loading telephony/java/android/telephony/TelephonyManager.java +1 −2 Original line number Diff line number Diff line Loading @@ -3765,7 +3765,7 @@ public class TelephonyManager { try { ITelephony telephony = getITelephony(); if (telephony != null) return telephony.iccOpenLogicalChannel(subId, AID, p2); return telephony.iccOpenLogicalChannel(subId, getOpPackageName(), AID, p2); } catch (RemoteException ex) { } catch (NullPointerException ex) { } Loading Loading @@ -6762,4 +6762,3 @@ public class TelephonyManager { return null; } } telephony/java/com/android/internal/telephony/ITelephony.aidl +3 −1 Original line number Diff line number Diff line Loading @@ -623,11 +623,13 @@ interface ITelephony { * Input parameters equivalent to TS 27.007 AT+CCHO command. * * @param subId The subscription to use. * @param callingPackage the name of the package making the call. * @param AID Application id. See ETSI 102.221 and 101.220. * @param p2 P2 parameter (described in ISO 7816-4). * @return an IccOpenLogicalChannelResponse object. */ IccOpenLogicalChannelResponse iccOpenLogicalChannel(int subId, String AID, int p2); IccOpenLogicalChannelResponse iccOpenLogicalChannel( int subId, String callingPackage, String AID, int p2); /** * Closes a previously opened logical channel to the ICC card. Loading Loading
telephony/java/android/telephony/TelephonyManager.java +1 −2 Original line number Diff line number Diff line Loading @@ -3765,7 +3765,7 @@ public class TelephonyManager { try { ITelephony telephony = getITelephony(); if (telephony != null) return telephony.iccOpenLogicalChannel(subId, AID, p2); return telephony.iccOpenLogicalChannel(subId, getOpPackageName(), AID, p2); } catch (RemoteException ex) { } catch (NullPointerException ex) { } Loading Loading @@ -6762,4 +6762,3 @@ public class TelephonyManager { return null; } }
telephony/java/com/android/internal/telephony/ITelephony.aidl +3 −1 Original line number Diff line number Diff line Loading @@ -623,11 +623,13 @@ interface ITelephony { * Input parameters equivalent to TS 27.007 AT+CCHO command. * * @param subId The subscription to use. * @param callingPackage the name of the package making the call. * @param AID Application id. See ETSI 102.221 and 101.220. * @param p2 P2 parameter (described in ISO 7816-4). * @return an IccOpenLogicalChannelResponse object. */ IccOpenLogicalChannelResponse iccOpenLogicalChannel(int subId, String AID, int p2); IccOpenLogicalChannelResponse iccOpenLogicalChannel( int subId, String callingPackage, String AID, int p2); /** * Closes a previously opened logical channel to the ICC card. Loading