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

Commit d449e20e authored by Reema Bajwa's avatar Reema Bajwa Committed by Android (Google) Code Review
Browse files

Merge "Fix the exception type set on ui cancellation" into udc-dev

parents 001d8a99 5b9e01be
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -158,7 +158,7 @@ public class GetRequestSession extends RequestSession<GetCredentialRequest,

    @Override
    public void onUiCancellation(boolean isUserCancellation) {
        String exception = GetCredentialException.TYPE_NO_CREDENTIAL;
        String exception = GetCredentialException.TYPE_USER_CANCELED;
        String message = "User cancelled the selector";
        if (!isUserCancellation) {
            exception = GetCredentialException.TYPE_INTERRUPTED;