Fix #4579
This commit is contained in:
parent
10f803efcf
commit
175c6bef53
1 changed files with 1 additions and 1 deletions
|
@ -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();
|
||||
|
|
Loading…
Reference in a new issue