Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
7
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Open sidebar
Casanowow Life for love
VLC-Android
Commits
4649b8f7
Commit
4649b8f7
authored
Feb 21, 2014
by
Adrien Maglo
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Audio browser: fix the media deletion
parent
651536d1
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
4 deletions
+4
-4
vlc-android/src/org/videolan/vlc/gui/audio/AudioAlbumsSongsFragment.java
.../org/videolan/vlc/gui/audio/AudioAlbumsSongsFragment.java
+2
-2
vlc-android/src/org/videolan/vlc/gui/audio/AudioBrowserFragment.java
.../src/org/videolan/vlc/gui/audio/AudioBrowserFragment.java
+2
-2
No files found.
vlc-android/src/org/videolan/vlc/gui/audio/AudioAlbumsSongsFragment.java
View file @
4649b8f7
...
...
@@ -258,8 +258,8 @@ public class AudioAlbumsSongsFragment extends SherlockFragment {
new
VlcRunnable
(
mSongsAdapter
.
getItem
(
groupPosition
))
{
@Override
public
void
run
(
Object
o
)
{
Media
aMedia
=
(
Media
)
o
;
mMediaLibrary
.
getMediaItems
().
remove
(
aMedia
);
AudioBrowserListAdapter
.
ListItem
listItem
=
(
AudioBrowserListAdapter
.
ListItem
)
o
;
mMediaLibrary
.
getMediaItems
().
remove
(
listItem
.
mMediaList
.
get
(
0
)
);
updateList
();
}
});
...
...
vlc-android/src/org/videolan/vlc/gui/audio/AudioBrowserFragment.java
View file @
4649b8f7
...
...
@@ -254,8 +254,8 @@ public class AudioBrowserFragment extends SherlockFragment {
new
VlcRunnable
(
mSongsAdapter
.
getItem
(
groupPosition
))
{
@Override
public
void
run
(
Object
o
)
{
Media
aMedia
=
(
Media
)
o
;
mMediaLibrary
.
getMediaItems
().
remove
(
aMedia
);
AudioBrowserListAdapter
.
ListItem
listItem
=
(
AudioBrowserListAdapter
.
ListItem
)
o
;
mMediaLibrary
.
getMediaItems
().
remove
(
listItem
.
mMediaList
.
get
(
0
)
);
updateLists
();
}
});
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a 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