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

Commit 83009818 authored by Arian's avatar Arian Committed by LuK1337
Browse files

UdfpsController: Call onFingerDown on action down events

Change-Id: Icf333f13bccfed9ba4ec030716d2bcf83841ef55
parent fc3343d2
Loading
Loading
Loading
Loading
+5 −0
Original line number Diff line number Diff line
@@ -402,7 +402,12 @@ public class UdfpsController implements DozeReceiver {
                    // We need to persist its ID to track it during ACTION_MOVE that could include
                    // data for many other pointers because of multi-touch support.
                    mActivePointerId = event.getPointerId(0);
                    final int idx = mActivePointerId == -1
                            ? event.getPointerId(0)
                            : event.findPointerIndex(mActivePointerId);
                    mVelocityTracker.addMovement(event);
                    onFingerDown((int) event.getRawX(), (int) event.getRawY(),
                            (int) event.getTouchMinor(idx), (int) event.getTouchMajor(idx));
                    handled = true;
                }
                if ((withinSensorArea || fromUdfpsView) && shouldTryToDismissKeyguard()) {