Merge "Allow intercept touch event while animating edge glow." into sc-dev
This commit is contained in:
@@ -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);
|
||||
|
||||
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user