diff options
author | samalin <samalin@google.com> | 2021-01-22 19:57:06 +0800 |
---|---|---|
committer | Meng Wang <mewan@google.com> | 2021-02-02 21:24:06 +0000 |
commit | 5bf177361dae4fa3e626f450f46cd703ef678c7c (patch) | |
tree | 1afff168991bf40be9086505a4a020086191067c /java/com/android/libraries/entitlement/http/HttpResponse.java | |
parent | 9a499beea421646f04274919e0d9b87fe40af839 (diff) | |
download | service_entitlement-5bf177361dae4fa3e626f450f46cd703ef678c7c.tar.gz |
EAP AKA Challenge response not accepted by server
Correct the parameter of calling the method of generate IMSI EAP
and also format the code style
Bug: 177544547
Test: atest EapAkaResponseTest and Verified CSpire VoWiFi entitlement flow with this CL.
Summary
-------
arm64-v8a service-entitlement-tests: Passed: 28, Failed: 0, Ignored: 0, Assumption Failed: 0,
Change-Id: I28766caf800139f6c4244be5a65b4f508c539fe0
Merged-In: I28766caf800139f6c4244be5a65b4f508c539fe0
(cherry picked from commit fb4a25e1de19e98950d3adb6041818e70a5eb8fe)
Diffstat (limited to 'java/com/android/libraries/entitlement/http/HttpResponse.java')
-rw-r--r-- | java/com/android/libraries/entitlement/http/HttpResponse.java | 13 |
1 files changed, 9 insertions, 4 deletions
diff --git a/java/com/android/libraries/entitlement/http/HttpResponse.java b/java/com/android/libraries/entitlement/http/HttpResponse.java index 1cb165e..b6ca35f 100644 --- a/java/com/android/libraries/entitlement/http/HttpResponse.java +++ b/java/com/android/libraries/entitlement/http/HttpResponse.java @@ -20,11 +20,14 @@ import com.android.libraries.entitlement.http.HttpConstants.ContentType; import com.google.auto.value.AutoValue; -/** The response of the http request. */ +/** + * The response of the http request. + */ @AutoValue public abstract class HttpResponse { - - /** Content type of the response. */ + /** + * Content type of the response. + */ public abstract int contentType(); public abstract String body(); @@ -33,7 +36,9 @@ public abstract class HttpResponse { public abstract String responseMessage(); - /** Builder of {@link HttpResponse}. */ + /** + * Builder of {@link HttpResponse}. + */ @AutoValue.Builder public abstract static class Builder { |