Commit 8c823363 authored by Geoffrey Métais's avatar Geoffrey Métais

Remove unnecessary sorting

parent 77748b60
......@@ -800,6 +800,7 @@ public class AudioBrowserFragment extends MediaBrowserFragment implements SwipeR
updateAlbums, updateSongs, updateGenres, updatePlaylists));
//process the visible list first
if (mViewPager.getCurrentItem() != 0)
tasks.add(0, tasks.remove(mViewPager.getCurrentItem()));
tasks.add(new Runnable() {
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment