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) {
|
if (!mIsPlaying) {
|
||||||
togglePlayPause()
|
togglePlayPause()
|
||||||
} else {
|
} else {
|
||||||
mMediaPlayer!!.start()
|
mMediaPlayer?.start()
|
||||||
}
|
}
|
||||||
|
|
||||||
mIsDragged = false
|
mIsDragged = false
|
||||||
|
|
Loading…
Reference in New Issue