Merge "Fix the exception type set on ui cancellation" into udc-dev
This commit is contained in:
@@ -158,7 +158,7 @@ public class GetRequestSession extends RequestSession<GetCredentialRequest,
|
|||||||
|
|
||||||
@Override
|
@Override
|
||||||
public void onUiCancellation(boolean isUserCancellation) {
|
public void onUiCancellation(boolean isUserCancellation) {
|
||||||
String exception = GetCredentialException.TYPE_NO_CREDENTIAL;
|
String exception = GetCredentialException.TYPE_USER_CANCELED;
|
||||||
String message = "User cancelled the selector";
|
String message = "User cancelled the selector";
|
||||||
if (!isUserCancellation) {
|
if (!isUserCancellation) {
|
||||||
exception = GetCredentialException.TYPE_INTERRUPTED;
|
exception = GetCredentialException.TYPE_INTERRUPTED;
|
||||||
|
|||||||
Reference in New Issue
Block a user