summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--services/core/java/com/android/server/biometrics/BiometricService.java8
1 files changed, 4 insertions, 4 deletions
diff --git a/services/core/java/com/android/server/biometrics/BiometricService.java b/services/core/java/com/android/server/biometrics/BiometricService.java
index 540c6ff09c9d..1217a507a8dc 100644
--- a/services/core/java/com/android/server/biometrics/BiometricService.java
+++ b/services/core/java/com/android/server/biometrics/BiometricService.java
@@ -1630,15 +1630,15 @@ public class BiometricService extends SystemService {
}
private void handleOnSystemEvent(int event) {
- final boolean shouldReceive = mCurrentAuthSession.mBundle
- .getBoolean(BiometricPrompt.KEY_RECEIVE_SYSTEM_EVENTS, false);
- Slog.d(TAG, "onSystemEvent: " + event + ", shouldReceive: " + shouldReceive);
-
if (mCurrentAuthSession == null) {
Slog.e(TAG, "Auth session null");
return;
}
+ final boolean shouldReceive = mCurrentAuthSession.mBundle
+ .getBoolean(BiometricPrompt.KEY_RECEIVE_SYSTEM_EVENTS, false);
+ Slog.d(TAG, "onSystemEvent: " + event + ", shouldReceive: " + shouldReceive);
+
if (!shouldReceive) {
return;
}