Commit ea7da747 authored by Geoffrey Métais's avatar Geoffrey Métais

Video player: Nullity check

parent 2b020e31
......@@ -2894,7 +2894,7 @@ public class VideoPlayerActivity extends AppCompatActivity implements IPlaybackS
WorkersKt.runIO(new Runnable() {
@Override
public void run() {
final MediaPlayer.Title[] titles = mService.getTitles();
final MediaPlayer.Title[] titles = mService != null ? mService.getTitles() : null;
WorkersKt.runOnMainThread(new Runnable() {
@Override
public void run() {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment