[Android] Remove dead code
Geoffrey Métais
git at videolan.org
Fri Feb 3 21:22:20 CET 2017
vlc-android | branch: master | Geoffrey Métais <geoffrey.metais at gmail.com> | Fri Feb 3 21:09:24 2017 +0100| [724ce586bba19e70c7a9db9c9e043fa4360c9458] | committer: Geoffrey Métais
Remove dead code
> https://code.videolan.org/videolan/vlc-android/commit/724ce586bba19e70c7a9db9c9e043fa4360c9458
---
vlc-android/src/org/videolan/vlc/gui/video/VideoListAdapter.java | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/vlc-android/src/org/videolan/vlc/gui/video/VideoListAdapter.java b/vlc-android/src/org/videolan/vlc/gui/video/VideoListAdapter.java
index 8ff0d75..306a43e 100644
--- a/vlc-android/src/org/videolan/vlc/gui/video/VideoListAdapter.java
+++ b/vlc-android/src/org/videolan/vlc/gui/video/VideoListAdapter.java
@@ -140,7 +140,7 @@ public class VideoListAdapter extends RecyclerView.Adapter<VideoListAdapter.View
holder.binding.setVariable(BR.cover, AsyncImageLoader.DEFAULT_COVER_VIDEO_DRAWABLE);
}
- public void sort() {mVideos.addAll();
+ public void sort() {
if (!isEmpty())
dispatchUpdate(getAll());
}
More information about the Android
mailing list