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

Commit cbe1e86e 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...

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

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

Change-Id: I93dc3488874dc429a7959fb0611785ff961d5ded
parents c41972fa f764668e
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);