From e68114751a8a9ab4bb82e29258c5617e416aabd6 Mon Sep 17 00:00:00 2001 From: Oleksandr Kharchenko Date: Mon, 19 Aug 2024 16:00:45 +0300 Subject: [PATCH] [ZEUS-4787] small code updates --- .../player/plugin/bitmovin/BitmovinVideoPlayerPlugin.kt | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/playback-sdk-android/src/main/java/com/streamamg/player/plugin/bitmovin/BitmovinVideoPlayerPlugin.kt b/playback-sdk-android/src/main/java/com/streamamg/player/plugin/bitmovin/BitmovinVideoPlayerPlugin.kt index 0f54b68..883d2fc 100644 --- a/playback-sdk-android/src/main/java/com/streamamg/player/plugin/bitmovin/BitmovinVideoPlayerPlugin.kt +++ b/playback-sdk-android/src/main/java/com/streamamg/player/plugin/bitmovin/BitmovinVideoPlayerPlugin.kt @@ -247,9 +247,7 @@ class BitmovinVideoPlayerPlugin : VideoPlayerPlugin { } private fun unbindAndStopBackgroundService(context: Context) { - if (!isServiceBound) { - return - } + if (!isServiceBound) return val intent = Intent(context, BackgroundPlaybackService::class.java)