Fix the exception type set on ui cancellation
Test: built & deployed locally Bug: 281849060 Change-Id: Id3617ecf725bbca32e371ddded617deb8967655e
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user