Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mapsme/omim.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVladimir Byko-Ianko <bykoianko@gmail.com>2016-11-15 11:48:55 +0300
committerGitHub <noreply@github.com>2016-11-15 11:48:55 +0300
commit2438306ebbca92dadc4a4e720b518503155475a4 (patch)
treef481bf15c6ce322c92cdb77559d8762e2c09ca07
parent3c1c4423f42ea3ba6f2346148947a8f2f142537c (diff)
parent4622343d818b9cbec58bbcd1b73ee1111f3bdfc0 (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.java4
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;
}