You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
publicvoidtriggerIdleRun() {
// removed from taskContainerTaskrequest = TaskContainer.getInstance().offerTaskInIdleState(false);
if (request != null) {
if (requestinstanceofIdleTask) {
//can run more than one task in one trigger
((IdleTask) request).updateIdleOffset(mConfig.getIdleTaskOffset());
}
request.updateDelay(0);//[已经设置过的]if (Looper.myLooper() == Looper.getMainLooper()) {
executeDirect(request);
} else {
enqueue(request);
}
} else {
// when is idle , notify executor to run junk tasksmTaskExecutor.trigger();
}
}
这里会把 delay 设置为 0。
The text was updated successfully, but these errors were encountered:
如题 IdleTask 不支持 delay,并且没有任何提示和报错。
这里会把 delay 设置为 0。
The text was updated successfully, but these errors were encountered: