[Android] Clear widget on service destroy

Geoffrey Métais git at videolan.org
Fri Jan 26 18:14:28 CET 2018


vlc-android | branch: master | Geoffrey Métais <geoffrey.metais at gmail.com> | Fri Jan 26 18:14:07 2018 +0100| [b89f2e77dc0128ae83808806f1ef157e85d20f72] | committer: Geoffrey Métais

Clear widget on service destroy

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

 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 208b19d51..d961967d4 100644
--- a/vlc-android/src/org/videolan/vlc/PlaybackService.java
+++ b/vlc-android/src/org/videolan/vlc/PlaybackService.java
@@ -288,6 +288,7 @@ public class PlaybackService extends MediaBrowserServiceCompat{
             mRemoteControlClientReceiver = null;
         }
         playlistManager.onServiceDestroyed();
+        updateWidget();
     }
 
     @Override



More information about the Android mailing list