Bug 1076692 - OuterLayout should consume touch only when dragging is enabled. r=mcomella

This commit is contained in:
Jeff Lu 2015-04-23 17:03:04 -07:00
parent ee7f627cdd
commit 1875df6a47

View File

@ -161,11 +161,11 @@ public class OuterLayout extends RelativeLayout {
if (mDragHelper.shouldInterceptTouchEvent(event)) {
return true;
}
}
// Because while open the target layout is translated and draghelper does not catch it.
if (mIsOpen && mDragCallback.canInterceptEventWhileOpen(event)) {
return true;
// Because while open the target layout is translated and draghelper does not catch it.
if (mIsOpen && mDragCallback.canInterceptEventWhileOpen(event)) {
return true;
}
}
return false;
}