[Android] Add missing return statement

Geoffrey Métais git at videolan.org
Wed Nov 15 15:48:44 CET 2017


vlc-android | branch: 2.5.x | Geoffrey Métais <geoffrey.metais at gmail.com> | Wed Nov 15 12:00:08 2017 +0100| [54828d7fa7db1ee8a7e20ad600570e41ebec9d60] | committer: Geoffrey Métais

Add missing return statement

(cherry picked from commit 2f3476ef80a409f107c4bb1d70a93df55ec585e4)

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

 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 982f530b2..9fc38efbe 100644
--- a/vlc-android/src/org/videolan/vlc/PlaybackService.java
+++ b/vlc-android/src/org/videolan/vlc/PlaybackService.java
@@ -1302,6 +1302,7 @@ public class PlaybackService extends MediaBrowserServiceCompat implements IVLCVo
                         onPlayFromSearch(query, extras);
                     }
                 });
+                return;
             }
             mMediaSession.setPlaybackState(new PlaybackStateCompat.Builder().setState(PlaybackStateCompat.STATE_CONNECTING, getTime(), 1.0f).build());
             VLCApplication.runBackground(new Runnable() {



More information about the Android mailing list