Commit 61573e20 authored by mengcuiguang's avatar mengcuiguang

代码优化

parent 39cd7e51
...@@ -176,6 +176,7 @@ class TaskCpdFragment : BaseFragment(), TaskView, ...@@ -176,6 +176,7 @@ class TaskCpdFragment : BaseFragment(), TaskView,
// 圣于地广告 循环完成后去重 // 圣于地广告 循环完成后去重
if (cpdLoadCountTime++ >= cpdMax - 1) { if (cpdLoadCountTime++ >= cpdMax - 1) {
// notifyDataAndShowAd()
getCpdRepeatPkg() getCpdRepeatPkg()
} }
} }
...@@ -220,6 +221,8 @@ class TaskCpdFragment : BaseFragment(), TaskView, ...@@ -220,6 +221,8 @@ class TaskCpdFragment : BaseFragment(), TaskView,
// 数据重复 // 数据重复
if (i != j && mFakeTaskList[i].downLoadPkgName == mFakeTaskList[j].downLoadPkgName) { if (i != j && mFakeTaskList[i].downLoadPkgName == mFakeTaskList[j].downLoadPkgName) {
LogUtil.d(TAG, "syd currentPkgName:"+mFakeTaskList[i].downLoadPkgName)
flag = false flag = false
break break
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment