Make getIccSimChallengeResponse a carrier API.
Bug: b/22863855 Change-Id: Ife4093da3a7a5849a02efcf00ded9a4a7761a1f6
This commit is contained in:
@@ -36022,6 +36022,7 @@ package android.telephony {
|
||||
method public java.lang.String getDeviceId(int);
|
||||
method public java.lang.String getDeviceSoftwareVersion();
|
||||
method public java.lang.String getGroupIdLevel1();
|
||||
method public java.lang.String getIccSimChallengeResponse(int, java.lang.String);
|
||||
method public java.lang.String getLine1Number();
|
||||
method public java.lang.String getMmsUAProfUrl();
|
||||
method public java.lang.String getMmsUserAgent();
|
||||
|
||||
@@ -38329,6 +38329,7 @@ package android.telephony {
|
||||
method public java.lang.String getDeviceId(int);
|
||||
method public java.lang.String getDeviceSoftwareVersion();
|
||||
method public java.lang.String getGroupIdLevel1();
|
||||
method public java.lang.String getIccSimChallengeResponse(int, java.lang.String);
|
||||
method public java.lang.String getLine1Number();
|
||||
method public java.lang.String getMmsUAProfUrl();
|
||||
method public java.lang.String getMmsUserAgent();
|
||||
|
||||
@@ -36025,6 +36025,7 @@ package android.telephony {
|
||||
method public java.lang.String getDeviceId(int);
|
||||
method public java.lang.String getDeviceSoftwareVersion();
|
||||
method public java.lang.String getGroupIdLevel1();
|
||||
method public java.lang.String getIccSimChallengeResponse(int, java.lang.String);
|
||||
method public java.lang.String getLine1Number();
|
||||
method public java.lang.String getMmsUAProfUrl();
|
||||
method public java.lang.String getMmsUserAgent();
|
||||
|
||||
@@ -3492,10 +3492,13 @@ 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 getIccSimChallengeResponse(getDefaultSubscription(), appType, data);
|
||||
|
||||
Reference in New Issue
Block a user