Fix the exception type set on ui cancellation

Test: built & deployed locally
Bug: 281849060

Change-Id: Id3617ecf725bbca32e371ddded617deb8967655e
This commit is contained in:
Reema Bajwa
2023-05-11 14:18:32 +00:00
parent c9e66e40ac
commit 5b9e01be70

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;