[Android] Video play: prevent crash in nav status update
Geoffrey Métais
git at videolan.org
Fri Aug 3 15:41:53 CEST 2018
vlc-android | branch: master | Geoffrey Métais <geoffrey.metais at gmail.com> | Fri Aug 3 15:41:25 2018 +0200| [11105484fba762e8734a02fbcd6a08fcd080cd99] | committer: Geoffrey Métais
Video play: prevent crash in nav status update
> https://code.videolan.org/videolan/vlc-android/commit/11105484fba762e8734a02fbcd6a08fcd080cd99
---
vlc-android/src/org/videolan/vlc/gui/video/VideoPlayerActivity.java | 1 +
1 file changed, 1 insertion(+)
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 2a3d47fdf..f821fe3a6 100644
--- a/vlc-android/src/org/videolan/vlc/gui/video/VideoPlayerActivity.java
+++ b/vlc-android/src/org/videolan/vlc/gui/video/VideoPlayerActivity.java
@@ -3121,6 +3121,7 @@ public class VideoPlayerActivity extends AppCompatActivity implements IVLCVout.C
}
private void updateNavStatus() {
+ if (mService == null) return;
mIsNavMenu = false;
mMenuIdx = -1;
More information about the Android
mailing list