提交 e6299e40 编写于 作者: S shuyu

1.5.0 修改了wifi无网络判断

上级 d4b7934a
......@@ -320,7 +320,7 @@ public class StandardGSYVideoPlayer extends GSYVideoPlayer {
@Override
public void showWifiDialog() {
super.showWifiDialog();
if (!NetworkUtils.isAvailable(mContext)) {
if (!mUrl.contains("127.0.0.1") && !NetworkUtils.isAvailable(mContext)) {
Toast.makeText(mContext, getResources().getString(R.string.no_net), Toast.LENGTH_LONG).show();
return;
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册