[Android] Add missing return statement

Geoffrey Métais git at videolan.org
Wed Nov 15 12:22:46 CET 2017


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

Add missing return statement

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

 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