make mediaplayer at onStopTrackingTouch of video fragment nullable
This commit is contained in:
parent
3c37407315
commit
bb81275b79
|
@ -367,7 +367,7 @@ class VideoFragment : ViewPagerFragment(), SurfaceHolder.Callback, SeekBar.OnSee
|
|||
if (!mIsPlaying) {
|
||||
togglePlayPause()
|
||||
} else {
|
||||
mMediaPlayer!!.start()
|
||||
mMediaPlayer?.start()
|
||||
}
|
||||
|
||||
mIsDragged = false
|
||||
|
|
Loading…
Reference in New Issue