上半区域点击不生效

This commit is contained in:
liujing
2020-10-25 16:49:02 +08:00
parent b2348ebf96
commit 8dc285b3c6

View File

@@ -157,13 +157,15 @@ class SimpleCoverVideoPlayer : StandardGSYVideoPlayer {
override fun onClick(v: View?) {
super.onClick(v)
Log.d("kl","onClick160"+mCurrentState)
if (mCurrentState == CURRENT_STATE_PAUSE || mCurrentState == CURRENT_STATE_PLAYING){
touchDoubleUp()
}
v?.let {
when (v) {
start -> {
}
else -> {
}
}
}