From 62a1b2045288d147d59ac5f5889f4fb08b56765b Mon Sep 17 00:00:00 2001 From: Victor Shcherb Date: Mon, 22 Aug 2016 18:58:12 +0300 Subject: [PATCH] Fix crash permissions --- .../net/osmand/core/samples/android/sample1/MainActivity.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/OsmAndCore-sample/src/net/osmand/core/samples/android/sample1/MainActivity.java b/OsmAndCore-sample/src/net/osmand/core/samples/android/sample1/MainActivity.java index 0c93050e54..6c4523e1f0 100644 --- a/OsmAndCore-sample/src/net/osmand/core/samples/android/sample1/MainActivity.java +++ b/OsmAndCore-sample/src/net/osmand/core/samples/android/sample1/MainActivity.java @@ -663,8 +663,8 @@ public class MainActivity extends Activity { public void onLongPress(MotionEvent e) { PointI point31 = new PointI(); mapView.getLocationFromScreenPoint(new PointI((int) e.getX(), (int) e.getY()), point31); - geocode(point31); - Toast.makeText(MainActivity.this, "Geocoding...", Toast.LENGTH_SHORT).show(); + // geocode(point31); + //Toast.makeText(MainActivity.this, "Geocoding...", Toast.LENGTH_SHORT).show(); } @Override