From c51700721e8268a200e1b55f010a4e3fbc370247 Mon Sep 17 00:00:00 2001 From: Koen Rabaey Date: Sun, 25 May 2014 00:42:46 +0200 Subject: [PATCH] permission not needed --- OsmAnd/src/net/osmand/plus/activities/LocalIndexesActivity.java | 1 - 1 file changed, 1 deletion(-) diff --git a/OsmAnd/src/net/osmand/plus/activities/LocalIndexesActivity.java b/OsmAnd/src/net/osmand/plus/activities/LocalIndexesActivity.java index b159494e0c..7cde52b6d5 100644 --- a/OsmAnd/src/net/osmand/plus/activities/LocalIndexesActivity.java +++ b/OsmAnd/src/net/osmand/plus/activities/LocalIndexesActivity.java @@ -197,7 +197,6 @@ public class LocalIndexesActivity extends OsmandExpandableListActivity { final Uri fileUri = Uri.fromFile(new File(info.getPathToData())); final Intent sendIntent = new Intent(Intent.ACTION_SEND); sendIntent.putExtra(Intent.EXTRA_STREAM, fileUri); - sendIntent.addFlags(Intent.FLAG_GRANT_READ_URI_PERMISSION); sendIntent.setType("application/gpx+xml"); startActivity(sendIntent); }