Merge "Fix the exception type set on ui cancellation" into udc-dev am: d449e20ece
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/23168930 Change-Id: I3ac951e68707da140367b50e514e9376a307b68b Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
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