Commit ff4459f4 authored by Geoffrey Métais's avatar Geoffrey Métais

Do not refresh while medialibrary is scanning

parent a113641e
......@@ -175,10 +175,10 @@ public class VideoGridFragment extends MediaBrowserFragment implements ISortable
mMainActivity = (MainActivity) getActivity();
final boolean refresh = mVideoAdapter.isEmpty();
final boolean refresh = mVideoAdapter.isEmpty() && !mMediaLibrary.isWorking();
// We don't animate while medialib is scanning. Because gridview is being populated.
// That would lead to graphical glitches
final boolean animate = mGroup == null && refresh && !mMediaLibrary.isWorking();
final boolean animate = mGroup == null && refresh;
if (refresh)
else {
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