Merge pull request #4594 from osmandapp/live_monitoring_fix

Fix #4579
This commit is contained in:
Alexey 2017-10-17 18:24:49 +03:00 committed by GitHub
commit 325d591ddb

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