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

Commit 453df37a authored by zhuw's avatar zhuw Committed by Gerrit - the friendly Code Review server
Browse files

Fix focus close when Up event occurs before destroy

add null point filter

Change-Id: I767ff9f9d493957c958d3b844f3c943b291c5cbb
parent ebfe1135
Loading
Loading
Loading
Loading
+3 −1
Original line number Diff line number Diff line
@@ -1314,7 +1314,9 @@ public class PhotoView extends GLView {
            if (mIgnoreSwipingGesture) return;

            mHolding &= ~HOLD_TOUCH_DOWN;
            if (mEdgeView != null) {
                mEdgeView.onRelease();
            }

            // If we scrolled in Y direction far enough, treat it as a delete
            // gesture.