[Android] Don't clear renderer when app goes background

Geoffrey Métais git at videolan.org
Wed Jan 16 16:51:28 CET 2019


vlc-android | branch: master | Geoffrey Métais <geoffrey.metais at gmail.com> | Wed Jan 16 16:50:11 2019 +0100| [07e82b14f0d58845177a79a3ce73b501965f6451] | committer: Geoffrey Métais

Don't clear renderer when app goes background

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

 vlc-android/src/org/videolan/vlc/RendererDelegate.kt | 1 -
 1 file changed, 1 deletion(-)

diff --git a/vlc-android/src/org/videolan/vlc/RendererDelegate.kt b/vlc-android/src/org/videolan/vlc/RendererDelegate.kt
index 8da2ba25e..e40d60a7c 100644
--- a/vlc-android/src/org/videolan/vlc/RendererDelegate.kt
+++ b/vlc-android/src/org/videolan/vlc/RendererDelegate.kt
@@ -65,7 +65,6 @@ object RendererDelegate : RendererDiscoverer.EventListener {
     private fun clear() {
         discoverers.clear()
         renderers.clear()
-        PlaybackService.renderer.value = null
     }
 
     override fun onEvent(event: RendererDiscoverer.Event?) {



More information about the Android mailing list