[Android] AudioService: update widgets on track change

Edward Wang git at videolan.org
Sat Jul 20 18:06:59 CEST 2013


vlc-ports/android | branch: master | Edward Wang <edward.c.wang at compdigitec.com> | Sat Jul 20 12:00:59 2013 -0400| [5b63caef8ce0ec77bf2ecc98e0daff095bd271cc] | committer: Edward Wang

AudioService: update widgets on track change

Parity with other events (pause/stop/etc)

> http://git.videolan.org/gitweb.cgi/vlc-ports/android.git/?a=commit;h=5b63caef8ce0ec77bf2ecc98e0daff095bd271cc
---

 vlc-android/src/org/videolan/vlc/AudioService.java |    1 +
 1 file changed, 1 insertion(+)

diff --git a/vlc-android/src/org/videolan/vlc/AudioService.java b/vlc-android/src/org/videolan/vlc/AudioService.java
index f991045..4ef38f9 100644
--- a/vlc-android/src/org/videolan/vlc/AudioService.java
+++ b/vlc-android/src/org/videolan/vlc/AudioService.java
@@ -390,6 +390,7 @@ public class AudioService extends Service {
             switch (msg.getData().getInt("event")) {
                 case EventHandler.MediaPlayerPlaying:
                     Log.i(TAG, "MediaPlayerPlaying");
+                    service.executeUpdate();
 
                     if (service.mCurrentMedia == null)
                         return;



More information about the Android mailing list