Merge "Remove getIsimChallengeResponse" am: b6d5a85a9c

am: c13ddc2fe0

Change-Id: If67d532c0ab0cbd778650cd2a6bd33b91f0459e5
This commit is contained in:
nharold
2018-01-31 01:59:39 +00:00
committed by android-build-merger
2 changed files with 0 additions and 30 deletions

View File

@@ -4779,28 +4779,6 @@ public class TelephonyManager {
}
}
/**
* Returns the response of ISIM Authetification through RIL.
* Returns null if the Authentification hasn't been successed or isn't present iphonesubinfo.
* @return the response of ISIM Authetification, or null if not available
* @hide
* @deprecated
* @see getIccAuthentication with appType=PhoneConstants.APPTYPE_ISIM
*/
public String getIsimChallengeResponse(String nonce){
try {
IPhoneSubInfo info = getSubscriberInfo();
if (info == null)
return null;
return info.getIsimChallengeResponse(nonce);
} catch (RemoteException ex) {
return null;
} catch (NullPointerException ex) {
// This could happen before phone restarts due to crashing
return null;
}
}
// ICC SIM Application Types
/** UICC application type is SIM */
public static final int APPTYPE_SIM = PhoneConstants.APPTYPE_SIM;

View File

@@ -194,14 +194,6 @@ interface IPhoneSubInfo {
*/
String[] getIsimPcscf(int subId);
/**
* TODO: Deprecate and remove this interface. Superceded by getIccsimChallengeResponse.
* Returns the response of ISIM Authetification through RIL.
* @return the response of ISIM Authetification, or null if
* the Authentification hasn't been successed or isn't present iphonesubinfo.
*/
String getIsimChallengeResponse(String nonce);
/**
* Returns the response of the SIM application on the UICC to authentication
* challenge/response algorithm. The data string and challenge response are