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 (!importing) {
|
||||||
if (asyncLoader == null || asyncLoader.getResult() == null) {
|
if (asyncLoader == null || asyncLoader.getResult() == null) {
|
||||||
asyncLoader = new LoadGpxTask();
|
asyncLoader = new LoadGpxTask();
|
||||||
asyncLoader.execute(getActivity());
|
asyncLoader.executeOnExecutor(AsyncTask.THREAD_POOL_EXECUTOR);
|
||||||
} else {
|
} else {
|
||||||
allGpxAdapter.refreshSelected();
|
allGpxAdapter.refreshSelected();
|
||||||
allGpxAdapter.notifyDataSetChanged();
|
allGpxAdapter.notifyDataSetChanged();
|
||||||
|
|
Loading…
Reference in a new issue