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

Commit 53df60b8 authored by Svetoslav Ganov's avatar Svetoslav Ganov Committed by Android (Google) Code Review
Browse files

Merge "Touch explorer does not cancel long press correctly causing system crash."

parents b0d89922 406970b0
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -203,6 +203,7 @@ public class TouchExplorer implements Explorer {
                    }
                    case 1: {
                        mSendHoverDelayed.remove();
                        mPerformLongPressDelayed.remove();
                        // Send a hover for every finger down so the user gets feedback.
                        final int pointerId = pointerTracker.getPrimaryActivePointerId();
                        final int pointerIdBits = (1 << pointerId);