[Android] Audio player: update the audio player fragment when it is displayed

Adrien Maglo git at videolan.org
Thu Jan 9 13:41:32 CET 2014


vlc-ports/android | branch: master | Adrien Maglo <magsoft at videolan.org> | Wed Jan  8 14:40:20 2014 +0100| [e3ab7ec3f2353f878fd47ba38111e032e0e4c22e] | committer: Adrien Maglo

Audio player: update the audio player fragment when it is displayed

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

 vlc-android/src/org/videolan/vlc/gui/audio/AudioPlayerFragment.java |    2 ++
 1 file changed, 2 insertions(+)

diff --git a/vlc-android/src/org/videolan/vlc/gui/audio/AudioPlayerFragment.java b/vlc-android/src/org/videolan/vlc/gui/audio/AudioPlayerFragment.java
index 6dda292..01796bb 100644
--- a/vlc-android/src/org/videolan/vlc/gui/audio/AudioPlayerFragment.java
+++ b/vlc-android/src/org/videolan/vlc/gui/audio/AudioPlayerFragment.java
@@ -201,6 +201,8 @@ public class AudioPlayerFragment extends SherlockFragment implements IAudioPlaye
         activity.setMiniPlayerKeepHidden(true);
         getSherlockActivity().getSupportActionBar().hide();
         mAudioController.addAudioPlayer(this);
+        update();
+        updateProgress();
     }
 
     @Override



More information about the Android mailing list