[Android] Update bound status on service disconnect

Geoffrey Métais git at videolan.org
Thu Mar 10 18:18:09 CET 2016


vlc-android | branch: master | Geoffrey Métais <geoffrey.metais at gmail.com> | Thu Mar 10 17:48:38 2016 +0100| [2bcd3a59900f693e7b8294cc4d0f894bcafd6cdf] | committer: Geoffrey Métais

Update bound status on service disconnect

> https://code.videolan.org/videolan/vlc-android/commit/2bcd3a59900f693e7b8294cc4d0f894bcafd6cdf
---

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

diff --git a/vlc-android/src/org/videolan/vlc/PlaybackService.java b/vlc-android/src/org/videolan/vlc/PlaybackService.java
index 50640ca..e238f72 100644
--- a/vlc-android/src/org/videolan/vlc/PlaybackService.java
+++ b/vlc-android/src/org/videolan/vlc/PlaybackService.java
@@ -2042,6 +2042,7 @@ public class PlaybackService extends Service implements IVLCVout.Callback {
 
             @Override
             public void onServiceDisconnected(ComponentName name) {
+                mBound = false;
                 mCallback.onDisconnected();
             }
         };



More information about the Android mailing list