[Android] Remove useless check

Geoffrey Métais git at videolan.org
Tue Feb 5 15:31:11 CET 2019


vlc-android | branch: master | Geoffrey Métais <geoffrey.metais at gmail.com> | Tue Feb  5 15:23:10 2019 +0100| [b920b1a0f3bbf9253c8d4052a4fe96f5e164ab57] | committer: Geoffrey Métais

Remove useless check

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

 vlc-android/src/org/videolan/vlc/gui/video/VideoPlayerActivity.java | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/vlc-android/src/org/videolan/vlc/gui/video/VideoPlayerActivity.java b/vlc-android/src/org/videolan/vlc/gui/video/VideoPlayerActivity.java
index 57b924377..9f3e3e932 100644
--- a/vlc-android/src/org/videolan/vlc/gui/video/VideoPlayerActivity.java
+++ b/vlc-android/src/org/videolan/vlc/gui/video/VideoPlayerActivity.java
@@ -508,7 +508,7 @@ public class VideoPlayerActivity extends AppCompatActivity implements IPlaybackS
             if (Permissions.canDrawOverlays(this)) {
                 mSwitchingView = true;
                 mSwitchToPopup = true;
-                if (mService != null && !mService.isPlaying())
+                if (!mService.isPlaying())
                     mw.addFlags(MediaWrapper.MEDIA_PAUSED);
                 cleanUI();
                 exitOK();



More information about the Android mailing list