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

Commit d4844d5b authored by Junda Liu's avatar Junda Liu Committed by android-build-merger
Browse files

Merge "Remove deprecated API for sim authentication." into nyc-dev

am: d2744865

* commit 'd2744865':
  Remove deprecated API for sim authentication.

Change-Id: I1690092452912bcf603f5865a990edb3f2478506
parents 8a31402c d2744865
Loading
Loading
Loading
Loading
+0 −16
Original line number Diff line number Diff line
@@ -3643,22 +3643,6 @@ public class TelephonyManager {
        }
    }

    /**
     * Returns the response of SIM Authentication through RIL for the default subscription.
     * Returns null if the Authentication hasn't been successful
     *
     * <p>Requires that the calling app has carrier privileges.
     * @see #hasCarrierPrivileges
     *
     * @param appType ICC application type (@see com.android.internal.telephony.PhoneConstants#APPTYPE_xxx)
     * @param data authentication challenge data
     * @return the response of SIM Authentication, or null if not available
     * @hide
     */
    public String getIccSimChallengeResponse(int appType, String data) {
        return getIccAuthentication(getDefaultSubscription(), appType, AUTHTYPE_EAP_SIM, data);
    }

    /**
     * Get P-CSCF address from PCO after data connection is established or modified.
     * @param apnType the apnType, "ims" for IMS APN, "emergency" for EMERGENCY APN