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

Commit aa574f9c authored by Kevin Chyn's avatar Kevin Chyn
Browse files

No need to notify SysUI of ERROR_USER_CANCELED

Fixes: 117184520

Test: BiometricPromptDemo, tapping transparent area and tapping back
      button result in ERROR_USER_CANCELED being sent to app correctly

Change-Id: I95d96aad2fe8e3954716f1b101e0c07251958ed4
parent 25041bce
Loading
Loading
Loading
Loading
+1 −1
Original line number Original line Diff line number Diff line
@@ -195,7 +195,7 @@ public abstract class AuthenticationClient extends ClientMonitor {
            // ERROR_CANCELED message.
            // ERROR_CANCELED message.
            return true;
            return true;
        }
        }
        if (mBundle != null) {
        if (mBundle != null && error != BiometricConstants.BIOMETRIC_ERROR_USER_CANCELED) {
            try {
            try {
                mStatusBarService.onBiometricError(getErrorString(error, vendorCode));
                mStatusBarService.onBiometricError(getErrorString(error, vendorCode));
            } catch (RemoteException e) {
            } catch (RemoteException e) {