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

Commit b11cbb9e authored by Jordan Liu's avatar Jordan Liu Committed by Gerrit Code Review
Browse files

Merge "Update getIccAuthentication documentation"

parents 26391301 b6528400
Loading
Loading
Loading
Loading
+13 −2
Original line number Original line Diff line number Diff line
@@ -5147,7 +5147,12 @@ public class TelephonyManager {
     * {@link #AUTHTYPE_EAP_SIM}
     * {@link #AUTHTYPE_EAP_SIM}
     * @param data authentication challenge data, base64 encoded.
     * @param data authentication challenge data, base64 encoded.
     * See 3GPP TS 31.102 7.1.2 for more details.
     * See 3GPP TS 31.102 7.1.2 for more details.
     * @return the response of authentication, or null if not available
     * @return the response of authentication. This value will be null in the following cases:
     *   Authentication error, incorrect MAC
     *   Authentication error, security context not supported
     *   Key freshness failure
     *   Authentication error, no memory space available
     *   Authentication error, no memory space available in EFMUK
     */
     */
    // TODO(b/73660190): This should probably require MODIFY_PHONE_STATE, not
    // TODO(b/73660190): This should probably require MODIFY_PHONE_STATE, not
    // READ_PRIVILEGED_PHONE_STATE. It certainly shouldn't reference the permission in Javadoc since
    // READ_PRIVILEGED_PHONE_STATE. It certainly shouldn't reference the permission in Javadoc since
@@ -5168,7 +5173,13 @@ public class TelephonyManager {
     * {@link #AUTHTYPE_EAP_SIM}
     * {@link #AUTHTYPE_EAP_SIM}
     * @param data authentication challenge data, base64 encoded.
     * @param data authentication challenge data, base64 encoded.
     * See 3GPP TS 31.102 7.1.2 for more details.
     * See 3GPP TS 31.102 7.1.2 for more details.
     * @return the response of authentication, or null if not available
     * @return the response of authentication. This value will be null in the following cases only
     * (see 3GPP TS 31.102 7.3.1):
     *   Authentication error, incorrect MAC
     *   Authentication error, security context not supported
     *   Key freshness failure
     *   Authentication error, no memory space available
     *   Authentication error, no memory space available in EFMUK
     * @hide
     * @hide
     */
     */
    public String getIccAuthentication(int subId, int appType, int authType, String data) {
    public String getIccAuthentication(int subId, int appType, int authType, String data) {