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

Commit 5208ed90 authored by Daniel Jacob Chittoor's avatar Daniel Jacob Chittoor
Browse files

biometrics: Skip unconfigureDisplay if mOnFingerDown

parent de00019b
Loading
Loading
Loading
Loading
+7 −0
Original line number Diff line number Diff line
@@ -857,6 +857,13 @@ public class UdfpsController implements DozeReceiver, Dumpable {
        if (!isOptical()) {
            return;
        }

        // Check if the fingerprint is still pressed before proceeding
        if (mOnFingerDown) {
            Log.v(TAG, "Fingerprint is still pressed; skipping unconfigureDisplay.");
            return;
        }

        if (DeviceEntryUdfpsRefactor.isEnabled()) {
            if (mUdfpsDisplayMode != null) {
                mUdfpsDisplayMode.disable(null); // beverlt