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

Commit 45468955 authored by George Mount's avatar George Mount Committed by Automerger Merge Worker
Browse files

Merge "Allow intercept touch event while animating edge glow." into sc-dev am: a4b222f4

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

Change-Id: Iee2fdc36e1fd682522e8915e2e9c1646c2efd242
parents efa8819a a4b222f4
Loading
Loading
Loading
Loading
+1 −2
Original line number Diff line number Diff line
@@ -706,8 +706,7 @@ public class HorizontalScrollView extends FrameLayout {
                if (getChildCount() == 0) {
                    return false;
                }
                if ((mIsBeingDragged = !mScroller.isFinished() || !mEdgeGlowRight.isFinished()
                        || !mEdgeGlowLeft.isFinished())) {
                if (!mScroller.isFinished()) {
                    final ViewParent parent = getParent();
                    if (parent != null) {
                        parent.requestDisallowInterceptTouchEvent(true);
+1 −2
Original line number Diff line number Diff line
@@ -763,8 +763,7 @@ public class ScrollView extends FrameLayout {
                if (getChildCount() == 0) {
                    return false;
                }
                if ((mIsBeingDragged = !mScroller.isFinished() || !mEdgeGlowTop.isFinished()
                        || !mEdgeGlowBottom.isFinished())) {
                if (!mScroller.isFinished()) {
                    final ViewParent parent = getParent();
                    if (parent != null) {
                        parent.requestDisallowInterceptTouchEvent(true);