This commit is contained in:
Victor Shcherb 2015-11-07 22:48:29 +01:00
parent 15951c96d4
commit fc16599bbc

View file

@ -847,7 +847,8 @@ public class MapActivity extends AccessibleActivity implements DownloadEvents {
mapActions.contextMenuPoint(mapView.getLatitude(), mapView.getLongitude()); mapActions.contextMenuPoint(mapView.getLatitude(), mapView.getLongitude());
} }
return true; 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(); toggleDrawer();
return true; return true;
} else if (settings.ZOOM_BY_TRACKBALL.get()) { } else if (settings.ZOOM_BY_TRACKBALL.get()) {