Merge "Fix FingerprintManager won't display BP on SFPS devices" into tm-qpr-dev

This commit is contained in:
Vincent Wang
2023-03-16 02:33:41 +00:00
committed by Android (Google) Code Review

View File

@@ -343,7 +343,8 @@ public class FingerprintService extends SystemService {
final FingerprintSensorPropertiesInternal sensorProps =
provider.second.getSensorProperties(sensorId);
if (!isKeyguard && !Utils.isSettings(getContext(), opPackageName)
&& sensorProps != null && sensorProps.isAnyUdfpsType()) {
&& sensorProps != null && (sensorProps.isAnyUdfpsType()
|| sensorProps.isAnySidefpsType())) {
try {
return authenticateWithPrompt(operationId, sensorProps, callingUid,
callingUserId, receiver, opPackageName, ignoreEnrollmentState);