[Android] Remove dead code

Geoffrey Métais git at videolan.org
Wed Feb 20 11:22:18 CET 2019


vlc-android | branch: master | Geoffrey Métais <geoffrey.metais at gmail.com> | Wed Feb 20 11:22:00 2019 +0100| [f2b6df1738fdea3550be9f8ac7f057d0c56b9aee] | committer: Geoffrey Métais

Remove dead code

> https://code.videolan.org/videolan/vlc-android/commit/f2b6df1738fdea3550be9f8ac7f057d0c56b9aee
---

 vlc-android/src/org/videolan/vlc/gui/audio/AudioBrowserAdapter.java | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/vlc-android/src/org/videolan/vlc/gui/audio/AudioBrowserAdapter.java b/vlc-android/src/org/videolan/vlc/gui/audio/AudioBrowserAdapter.java
index 267f1b845..c1f53e183 100644
--- a/vlc-android/src/org/videolan/vlc/gui/audio/AudioBrowserAdapter.java
+++ b/vlc-android/src/org/videolan/vlc/gui/audio/AudioBrowserAdapter.java
@@ -108,8 +108,7 @@ public class AudioBrowserAdapter extends PagedListAdapter<MediaLibraryItem, Audi
                 holder.setCoverlay(isSelected);
                 holder.selectView(isSelected);
             } else if (payload instanceof Integer) {
-                if ((Integer) payload == UPDATE_PAYLOAD) {
-                } else if ((Integer) payload == Constants.UPDATE_SELECTION) {
+                if ((Integer) payload == Constants.UPDATE_SELECTION) {
                     final boolean isSelected = multiSelectHelper.isSelected(position);
                     holder.setCoverlay(isSelected);
                     holder.selectView(isSelected);



More information about the Android mailing list