make mediaplayer at onStopTrackingTouch of video fragment nullable

This commit is contained in:
tibbi 2017-06-27 22:36:39 +02:00
parent 3c37407315
commit bb81275b79
1 changed files with 1 additions and 1 deletions

View File

@ -367,7 +367,7 @@ class VideoFragment : ViewPagerFragment(), SurfaceHolder.Callback, SeekBar.OnSee
if (!mIsPlaying) { if (!mIsPlaying) {
togglePlayPause() togglePlayPause()
} else { } else {
mMediaPlayer!!.start() mMediaPlayer?.start()
} }
mIsDragged = false mIsDragged = false