diff options
Diffstat (limited to 'android/src/com/mapswithme/maps/widget/placepage/BottomPlacePageAnimationController.java')
-rw-r--r-- | android/src/com/mapswithme/maps/widget/placepage/BottomPlacePageAnimationController.java | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/android/src/com/mapswithme/maps/widget/placepage/BottomPlacePageAnimationController.java b/android/src/com/mapswithme/maps/widget/placepage/BottomPlacePageAnimationController.java index fa8ab4fecf..0197d3cf85 100644 --- a/android/src/com/mapswithme/maps/widget/placepage/BottomPlacePageAnimationController.java +++ b/android/src/com/mapswithme/maps/widget/placepage/BottomPlacePageAnimationController.java @@ -82,6 +82,7 @@ class BottomPlacePageAnimationController extends BasePlacePageAnimationControlle mIsDragging = false; mIsGestureFinished = false; mDownCoord = event.getY(); + mGestureDetector.onTouchEvent(event); break; case MotionEvent.ACTION_MOVE: if (!mIsGestureStartedInsideView) @@ -93,7 +94,8 @@ class BottomPlacePageAnimationController extends BasePlacePageAnimationControlle break; case MotionEvent.ACTION_UP: - if (mIsGestureStartedInsideView) + final boolean isInside = UiUtils.isViewTouched(event, mDetailsScroll); + if (isInside && mIsGestureStartedInsideView) mGestureDetector.onTouchEvent(event); break; } |