This commit is contained in:
PavelRatushny 2017-10-17 13:21:10 +03:00
parent 10f803efcf
commit 175c6bef53

View file

@ -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();