Fix process gpx task execution

This commit is contained in:
Alexey Kulish 2017-08-02 12:16:28 +03:00
parent dcccb2af9f
commit bda783d934

View file

@ -187,7 +187,7 @@ public class AvailableGPXFragment extends OsmandExpandableListFragment {
allGpxAdapter.notifyDataSetChanged(); allGpxAdapter.notifyDataSetChanged();
} }
asyncProcessor = new ProcessGpxTask(); asyncProcessor = new ProcessGpxTask();
asyncProcessor.execute(); asyncProcessor.executeOnExecutor(AsyncTask.THREAD_POOL_EXECUTOR);
} }
updateCurrentTrack(); updateCurrentTrack();