diff options
author | Vladimir Byko-Ianko <bykoianko@gmail.com> | 2016-11-15 11:48:55 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2016-11-15 11:48:55 +0300 |
commit | 2438306ebbca92dadc4a4e720b518503155475a4 (patch) | |
tree | f481bf15c6ce322c92cdb77559d8762e2c09ca07 | |
parent | 3c1c4423f42ea3ba6f2346148947a8f2f142537c (diff) | |
parent | 4622343d818b9cbec58bbcd1b73ee1111f3bdfc0 (diff) |
Merge pull request #4724 from goblinr/MAPSME-88-ext-pp-hide-fixandroid-release-650
[android] Fixed Place Page bookmark delete.
-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; } |