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