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