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
a4dbfd5a
Commit
a4dbfd5a
authored
Jan 17, 2014
by
Adrien Maglo
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Audio service: fix the append function when the playlist is empty
parent
c5ae7bb2
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
0 deletions
+3
-0
vlc-android/src/org/videolan/vlc/AudioService.java
vlc-android/src/org/videolan/vlc/AudioService.java
+3
-0
No files found.
vlc-android/src/org/videolan/vlc/AudioService.java
View file @
a4dbfd5a
...
...
@@ -1146,7 +1146,10 @@ public class AudioService extends Service {
@Override
public
void
append
(
List
<
String
>
mediaLocationList
)
throws
RemoteException
{
if
(!
hasCurrentMedia
())
{
load
(
mediaLocationList
,
0
,
false
);
return
;
}
MediaDatabase
db
=
MediaDatabase
.
getInstance
(
AudioService
.
this
);
for
(
int
i
=
0
;
i
<
mediaLocationList
.
size
();
i
++)
{
...
...
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