Skip to content

Commit 714d736

Browse files
committed
fix(SecureAndroidAuthentication): update cancel method to return biometric status code
1 parent cc165a0 commit 714d736

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

mobile/android/qt6/src/app/status/mobile/SecureAndroidAuthentication.java

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -87,9 +87,10 @@ public void setNegativeButton(String negativeButton) {
8787
}
8888

8989
/** Cancel current biometric request, if any. */
90-
public void cancel() {
90+
public int cancel() {
9191
if (mCancel != null && !mCancel.isCanceled()) mCancel.cancel();
9292
mCancel = null;
93+
return BIOMETRIC_STATUS_UNKNOWN;
9394
}
9495

9596
/** Capability check — returns your BIOMETRIC_* codes. */

0 commit comments

Comments
 (0)