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

This commit is contained in:
Reema Bajwa
2023-05-11 19:14:47 +00:00
committed by Android (Google) Code Review

View File

@@ -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;