Merge "Finalizing V2 Bugs - Removing TODOs" into udc-dev
This commit is contained in:
@@ -119,7 +119,6 @@ public final class ClearRequestSession extends RequestSession<ClearCredentialSta
|
||||
private void respondToClientWithResponseAndFinish() {
|
||||
Log.i(TAG, "respondToClientWithResponseAndFinish");
|
||||
if (isSessionCancelled()) {
|
||||
// TODO: Differentiate btw cancelled and false
|
||||
mChosenProviderMetric.setChosenProviderStatus(
|
||||
MetricUtilities.METRICS_PROVIDER_STATUS_FINAL_SUCCESS);
|
||||
logApiCall(ApiName.CLEAR_CREDENTIAL, /* apiStatus */
|
||||
@@ -144,7 +143,6 @@ public final class ClearRequestSession extends RequestSession<ClearCredentialSta
|
||||
private void respondToClientWithErrorAndFinish(String errorType, String errorMsg) {
|
||||
Log.i(TAG, "respondToClientWithErrorAndFinish");
|
||||
if (isSessionCancelled()) {
|
||||
// TODO: Differentiate btw cancelled and false
|
||||
logApiCall(ApiName.CLEAR_CREDENTIAL, /* apiStatus */
|
||||
ApiStatus.METRICS_API_STATUS_CLIENT_CANCELED);
|
||||
finishSession(/*propagateCancellation=*/true);
|
||||
|
||||
@@ -143,7 +143,6 @@ public final class CreateRequestSession extends RequestSession<CreateCredentialR
|
||||
return;
|
||||
}
|
||||
if (isSessionCancelled()) {
|
||||
// TODO: Differentiate btw cancelled and false
|
||||
logApiCall(ApiName.CREATE_CREDENTIAL, /* apiStatus */
|
||||
ApiStatus.METRICS_API_STATUS_CLIENT_CANCELED);
|
||||
finishSession(/*propagateCancellation=*/true);
|
||||
@@ -168,7 +167,6 @@ public final class CreateRequestSession extends RequestSession<CreateCredentialR
|
||||
return;
|
||||
}
|
||||
if (isSessionCancelled()) {
|
||||
// TODO: Differentiate btw cancelled and false
|
||||
logApiCall(ApiName.CREATE_CREDENTIAL, /* apiStatus */
|
||||
ApiStatus.METRICS_API_STATUS_CLIENT_CANCELED);
|
||||
finishSession(/*propagateCancellation=*/true);
|
||||
|
||||
@@ -119,7 +119,6 @@ public final class GetRequestSession extends RequestSession<GetCredentialRequest
|
||||
return;
|
||||
}
|
||||
if (isSessionCancelled()) {
|
||||
// TODO: Differentiate btw cancelled and false
|
||||
logApiCall(ApiName.GET_CREDENTIAL, /* apiStatus */
|
||||
ApiStatus.METRICS_API_STATUS_CLIENT_CANCELED);
|
||||
finishSession(/*propagateCancellation=*/true);
|
||||
|
||||
Reference in New Issue
Block a user