From 8dc285b3c65dc7ee013724a02f9f4a6feb4e3573 Mon Sep 17 00:00:00 2001 From: liujing Date: Sun, 25 Oct 2020 16:49:02 +0800 Subject: [PATCH] =?UTF-8?q?=E4=B8=8A=E5=8D=8A=E5=8C=BA=E5=9F=9F=E7=82=B9?= =?UTF-8?q?=E5=87=BB=E4=B8=8D=E7=94=9F=E6=95=88?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../java/com/mogo/module/v2x/view/SimpleCoverVideoPlayer.kt | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/modules/mogo-module-v2x/src/main/java/com/mogo/module/v2x/view/SimpleCoverVideoPlayer.kt b/modules/mogo-module-v2x/src/main/java/com/mogo/module/v2x/view/SimpleCoverVideoPlayer.kt index 1ab9cd5255..9fbdfed968 100644 --- a/modules/mogo-module-v2x/src/main/java/com/mogo/module/v2x/view/SimpleCoverVideoPlayer.kt +++ b/modules/mogo-module-v2x/src/main/java/com/mogo/module/v2x/view/SimpleCoverVideoPlayer.kt @@ -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 -> { - } } }