From fc16599bbc3ff30e882d6e984f2e5c2826bb3037 Mon Sep 17 00:00:00 2001 From: Victor Shcherb Date: Sat, 7 Nov 2015 22:48:29 +0100 Subject: [PATCH] Fix #1274 --- OsmAnd/src/net/osmand/plus/activities/MapActivity.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/OsmAnd/src/net/osmand/plus/activities/MapActivity.java b/OsmAnd/src/net/osmand/plus/activities/MapActivity.java index d726606822..61b746c144 100644 --- a/OsmAnd/src/net/osmand/plus/activities/MapActivity.java +++ b/OsmAnd/src/net/osmand/plus/activities/MapActivity.java @@ -847,7 +847,8 @@ public class MapActivity extends AccessibleActivity implements DownloadEvents { mapActions.contextMenuPoint(mapView.getLatitude(), mapView.getLongitude()); } return true; - } else if (keyCode == KeyEvent.KEYCODE_MENU && event.getRepeatCount() == 0) { + } else if (keyCode == KeyEvent.KEYCODE_MENU /*&& event.getRepeatCount() == 0*/) { + // repeat count 0 doesn't work for samsung, 1 doesn't work for lg toggleDrawer(); return true; } else if (settings.ZOOM_BY_TRACKBALL.get()) {