Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
Ewout ter Hoeven
VLC-Android
Commits
b1b1ae7c
Commit
b1b1ae7c
authored
Mar 27, 2018
by
Geoffrey Métais
Browse files
Audio adapter: fix logic fail
parent
d533f129
Changes
1
Hide whitespace changes
Inline
Side-by-side
vlc-android/src/org/videolan/vlc/gui/audio/AudioBrowserAdapter.java
View file @
b1b1ae7c
...
...
@@ -150,7 +150,7 @@ public class AudioBrowserAdapter extends SortableAdapter<MediaLibraryItem, Audio
}
private
boolean
isPositionValid
(
int
position
)
{
return
position
>=
0
||
position
<
getDataset
().
size
();
return
position
>=
0
&&
position
<
getDataset
().
size
();
}
public
List
<
MediaLibraryItem
>
getAll
()
{
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment