[Android] Remove useless casting
Geoffrey Métais
git at videolan.org
Fri Jun 2 12:04:45 CEST 2017
vlc-android | branch: master | Geoffrey Métais <geoffrey.metais at gmail.com> | Fri Jun 2 11:18:42 2017 +0200| [673137a4603fa945d993bd2dafeb97d1a60f3954] | committer: Geoffrey Métais
Remove useless casting
> https://code.videolan.org/videolan/vlc-android/commit/673137a4603fa945d993bd2dafeb97d1a60f3954
---
vlc-android/src/org/videolan/vlc/gui/audio/AudioBrowserAdapter.java | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
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 3ef5ebcd0..998b18c79 100644
--- a/vlc-android/src/org/videolan/vlc/gui/audio/AudioBrowserAdapter.java
+++ b/vlc-android/src/org/videolan/vlc/gui/audio/AudioBrowserAdapter.java
@@ -102,7 +102,7 @@ public class AudioBrowserAdapter extends BaseQueuedAdapter<MediaLibraryItem[], A
if (holder.getType() == MediaLibraryItem.TYPE_MEDIA) {
boolean isSelected = mDataList[position].hasStateFlags(MediaLibraryItem.FLAG_SELECTED);
((MediaItemViewHolder)holder).setCoverlay(isSelected);
- ((MediaItemViewHolder)holder).setViewBackground(((MediaItemViewHolder) holder).itemView.hasFocus(), isSelected);
+ ((MediaItemViewHolder)holder).setViewBackground(holder.itemView.hasFocus(), isSelected);
}
}
More information about the Android
mailing list