Commit b25452e8 authored by jyx's avatar jyx

代码优化

parent 48634236
......@@ -123,7 +123,11 @@ class TaskActivity : BaseActivity(), OnItemClickListener, OnRefreshListener, Cor
mTaskAdapter?.let {
if (mFakeTaskList.size == 0) return
val position = it.getPosition()
if (mFakeTaskList[position].state == 2 || mFakeTaskList[position].state == 3) return
val currentPkgName = mFakeTaskList[position].currentPkgName
if (currentPkgName != null) {
......
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