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

--HG--
extra : rebase_source : cf5824e19d663cb8d8fc5887080c74f2011546ff
This commit is contained in:
Jeff Lu 2015-04-23 17:03:04 -07:00
Родитель 85e079584d
Коммит 6fcd0207db
1 изменённых файлов: 4 добавлений и 4 удалений

Просмотреть файл

@ -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;
}