permission not needed
This commit is contained in:
parent
4b426efc8a
commit
c51700721e
1 changed files with 0 additions and 1 deletions
|
@ -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);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue