未验证 提交 fd0459e3 编写于 作者: 风和白羊 提交者: GitHub

Merge pull request #1 from fenghebaiyang/patch-2

解决GSYVideoHelper切换全屏导致定时任务停止的问题
......@@ -864,5 +864,13 @@ public class StandardGSYVideoPlayer extends GSYVideoPlayer {
}
}
/**
* 重新开启进度查询以及控制view消失的定时任务
* 用于解决GSYVideoHelper中通过removeview方式做全屏切换导致的定时任务停止的问题
* GSYVideoControlView onDetachedFromWindow()
*/
public void restartTimerTask() {
startProgressTimer();
startDismissControlViewTimer();
}
}
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册