From 175c6bef53b8e6767ca70093d8957d0183fad9e5 Mon Sep 17 00:00:00 2001 From: PavelRatushny Date: Tue, 17 Oct 2017 13:21:10 +0300 Subject: [PATCH] Fix #4579 --- 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 95dc1638b4..b599107212 100644 --- a/OsmAnd/src/net/osmand/plus/myplaces/AvailableGPXFragment.java +++ b/OsmAnd/src/net/osmand/plus/myplaces/AvailableGPXFragment.java @@ -182,7 +182,7 @@ public class AvailableGPXFragment extends OsmandExpandableListFragment { if (!importing) { if (asyncLoader == null || asyncLoader.getResult() == null) { asyncLoader = new LoadGpxTask(); - asyncLoader.execute(getActivity()); + asyncLoader.executeOnExecutor(AsyncTask.THREAD_POOL_EXECUTOR); } else { allGpxAdapter.refreshSelected(); allGpxAdapter.notifyDataSetChanged();