[Android] Set isBound is false when deconnecting the AUdioService

Jean-Baptiste Kempf git at videolan.org
Thu Nov 1 17:17:10 CET 2012


vlc-ports/android | branch: master | Jean-Baptiste Kempf <jb at videolan.org> | Thu Nov  1 19:16:30 2012 +0100| [a493e3343a1e0b4e1b3923e0a1361c4471272665] | committer: Jean-Baptiste Kempf

Set isBound is false when deconnecting the AUdioService

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

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

diff --git a/vlc-android/src/org/videolan/vlc/AudioServiceController.java b/vlc-android/src/org/videolan/vlc/AudioServiceController.java
index dfa0e32..15a49c0 100644
--- a/vlc-android/src/org/videolan/vlc/AudioServiceController.java
+++ b/vlc-android/src/org/videolan/vlc/AudioServiceController.java
@@ -90,6 +90,7 @@ public class AudioServiceController implements IAudioPlayerControl {
                 public void onServiceDisconnected(ComponentName name) {
                     Log.d(TAG, "Service Disconnected");
                     mAudioServiceBinder = null;
+                    mIsBound = false;
                 }
 
                 @Override



More information about the Android mailing list