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

Commit c8760ca6 authored by Miranda Kephart's avatar Miranda Kephart Committed by Android (Google) Code Review
Browse files

Merge "Fix pointer crash in scrolling screenshot CropView" into main

parents a958bbdc 7d55a713
Loading
Loading
Loading
Loading
+1 −2
Original line number Diff line number Diff line
@@ -214,8 +214,7 @@ public class CropView extends View {
                break;
            case MotionEvent.ACTION_CANCEL:
            case MotionEvent.ACTION_UP:
                if (mCurrentDraggingBoundary != CropBoundary.NONE
                        && mActivePointerId == event.getPointerId(mActivePointerId)) {
                if (mCurrentDraggingBoundary != CropBoundary.NONE) {
                    updateListener(MotionEvent.ACTION_UP, event.getX(0));
                    return true;
                }