[Android] Refresh the widget after loading a new track

Ludovic Fauvet git at videolan.org
Wed Jul 4 13:36:09 CEST 2012


android | branch: master | Ludovic Fauvet <etix at videolan.org> | Wed Jul  4 13:26:58 2012 +0200| [db30af28351267737145d7f9ed38d0ce19417051] | committer: Ludovic Fauvet

Refresh the widget after loading a new track

> http://git.videolan.org/gitweb.cgi/android.git/?a=commit;h=db30af28351267737145d7f9ed38d0ce19417051
---

 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 ea17c9e..cefaf23 100644
--- a/vlc-android/src/org/videolan/vlc/AudioService.java
+++ b/vlc-android/src/org/videolan/vlc/AudioService.java
@@ -615,6 +615,7 @@ public class AudioService extends Service {
             if (mCurrentMedia != null) {
                 mLibVLC.readMedia(mCurrentMedia.getLocation(), true);
                 showNotification();
+                updateWidget(AudioService.this);
             }
         }
 



More information about the Android mailing list