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

Commit 7880ea2b authored by Winson Chung's avatar Winson Chung Committed by Android (Google) Code Review
Browse files

Merge "Initialize split resize veils on touch down" into main

parents 8d0304e4 3025640c
Loading
Loading
Loading
Loading
+5 −0
Original line number Diff line number Diff line
@@ -336,6 +336,11 @@ public class DividerView extends FrameLayout implements View.OnTouchListener {
                setTouching();
                mStartPos = touchPos;
                mMoving = false;
                // This triggers initialization of things like the resize veil in preparation for
                // showing it when the user moves the divider past the slop, and has to be done
                // before onStartDragging() which starts the jank interaction tracing
                mSplitLayout.updateDividerBounds(mSplitLayout.getDividerPosition(),
                        false /* shouldUseParallaxEffect */);
                mSplitLayout.onStartDragging();
                break;
            case MotionEvent.ACTION_MOVE: