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

Commit f764668e authored by Bill Lin's avatar Bill Lin Committed by Automerger Merge Worker
Browse files

Merge "Update divider touch-region with DividerHandle position properly" into sc-dev am: a92eeb79

Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/14515949

Change-Id: I6cd232d22cac425de364282293a7b527b19cb3d1
parents 05f06126 a92eeb79
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -685,9 +685,9 @@ public class DividerView extends FrameLayout implements OnTouchListener,

        mTmpRect.set(mHandle.getLeft(), mHandle.getTop(), mHandle.getRight(), mHandle.getBottom());
        if (isHorizontalDivision()) {
            mTmpRect.offsetTo(0, mDividerPositionY);
            mTmpRect.offsetTo(mHandle.getLeft(), mDividerPositionY);
        } else {
            mTmpRect.offsetTo(mDividerPositionX, 0);
            mTmpRect.offsetTo(mDividerPositionX, mHandle.getTop());
        }
        mWindowManagerProxy.setTouchRegion(mTmpRect);