Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 5b9e01be authored by Reema Bajwa's avatar Reema Bajwa
Browse files

Fix the exception type set on ui cancellation

Test: built & deployed locally
Bug: 281849060

Change-Id: Id3617ecf725bbca32e371ddded617deb8967655e
parent c9e66e40
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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;