Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit d21e8d8b authored by nharold's avatar nharold Committed by android-build-merger
Browse files

Merge "Remove getIsimChallengeResponse" am: b6d5a85a am: c13ddc2f

am: e69ef2e5

Change-Id: I4117e88b3c6360d9b6c542f53826bef612572700
parents a64df69b e69ef2e5
Loading
Loading
Loading
Loading
+0 −22
Original line number Diff line number Diff line
@@ -4952,28 +4952,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;
+0 −8
Original line number Diff line number Diff line
@@ -201,14 +201,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