Merge "Respond with null data when no biometrics." into main
This commit is contained in:
committed by
Android (Google) Code Review
commit
ef487255b9
@@ -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. */
|
||||
|
Reference in New Issue
Block a user