[Android] Do not animate list for video groups
Geoffrey Métais
git at videolan.org
Fri Feb 27 12:49:08 CET 2015
vlc-ports/android | branch: master | Geoffrey Métais <geoffrey.metais at gmail.com> | Fri Feb 27 12:48:28 2015 +0100| [5b422e380c2f44f31b9dd2a81ca1b6eee1c54da1] | committer: Geoffrey Métais
Do not animate list for video groups
> http://git.videolan.org/gitweb.cgi/vlc-ports/android.git/?a=commit;h=5b422e380c2f44f31b9dd2a81ca1b6eee1c54da1
---
vlc-android/src/org/videolan/vlc/gui/video/VideoGridFragment.java | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/vlc-android/src/org/videolan/vlc/gui/video/VideoGridFragment.java b/vlc-android/src/org/videolan/vlc/gui/video/VideoGridFragment.java
index 6b2d4ba..dde9e30 100644
--- a/vlc-android/src/org/videolan/vlc/gui/video/VideoGridFragment.java
+++ b/vlc-android/src/org/videolan/vlc/gui/video/VideoGridFragment.java
@@ -201,7 +201,7 @@ public class VideoGridFragment extends BrowserFragment implements ISortable, IVi
mVideoAdapter.setTimes(times);
mGridView.setSelection(mGVFirstVisiblePos);
updateViewMode();
- if (refresh)
+ if (mGroup == null && refresh)
mAnimator.animate();
/* Start the thumbnailer */
More information about the Android
mailing list