Merge "Respond with null data when no biometrics." into main

This commit is contained in:
Elliot Sisteron
2023-08-10 09:19:04 +00:00
committed by Android (Google) Code Review
2 changed files with 124 additions and 82 deletions

View File

@@ -164,7 +164,12 @@ public final class BiometricsSafetySource {
disablingAdmin == null /* enabled */,
fingerprintStatusUtils.hasEnrolled(),
safetyEvent);
return;
}
SafetyCenterManagerWrapper.get()
.setSafetySourceData(
context, SAFETY_SOURCE_ID, /* safetySourceData= */ null, safetyEvent);
}
/** Notifies Safety Center of a change in biometrics settings. */