Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit ebe48a4a authored by Vincent Wang's avatar Vincent Wang
Browse files

Fix FingerprintManager won't display BP on SFPS devices

Bug: b/272416953
Test: [Pre-setup]
      1. Enroll at least 1 finger
      2. Download Telegram and set the Biometrics lock (settings > Privacy and Security > Passcode Lock > Unlock with Fingerprint)
      [Test]
      1. Open "Telegram" app
      2. Check BP shows
Change-Id: I7ed1d3d425a6bb7f58796abf2735e60f119e0bce
parent 5af264c1
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -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);