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

Commit becd35d5 authored by Arpan Kaphle's avatar Arpan Kaphle
Browse files

Finalizing V2 Bugs - Removing TODOs

After speaking with team, understood the context behind this TODO and
realized earlier changes made had fixed it. Removing them to then close
out the bug.

Bug: 269290341
Test: Builds, TODO change
Change-Id: I089e66b5617b09188d8b58f26c0c1a3a5a6e1edf
parent 81189bff
Loading
Loading
Loading
Loading
+0 −2
Original line number Diff line number Diff line
@@ -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);
+0 −2
Original line number Diff line number Diff line
@@ -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);
+0 −1
Original line number Diff line number Diff line
@@ -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);