From c3a0fcc7227351d81d6f1bbd8761d82727c4b221 Mon Sep 17 00:00:00 2001 From: max-klaus Date: Wed, 20 Nov 2019 14:09:14 +0300 Subject: [PATCH] Try to fix export track to BT --- OsmAnd/src/net/osmand/plus/myplaces/AvailableGPXFragment.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/OsmAnd/src/net/osmand/plus/myplaces/AvailableGPXFragment.java b/OsmAnd/src/net/osmand/plus/myplaces/AvailableGPXFragment.java index a8452edd9e..04c5951145 100644 --- a/OsmAnd/src/net/osmand/plus/myplaces/AvailableGPXFragment.java +++ b/OsmAnd/src/net/osmand/plus/myplaces/AvailableGPXFragment.java @@ -1474,7 +1474,7 @@ public class AvailableGPXFragment extends OsmandExpandableListFragment implement final Uri fileUri = AndroidUtils.getUriForFile(getMyApplication(), gpxInfo.file); final Intent sendIntent = new Intent(Intent.ACTION_SEND); sendIntent.putExtra(Intent.EXTRA_STREAM, fileUri); - sendIntent.setType("application/gpx+xml"); + sendIntent.setType("text/plain"); sendIntent.addFlags(Intent.FLAG_GRANT_READ_URI_PERMISSION); startActivity(sendIntent); return true;