失败回调stop/fail设置完善

pull/640/head
DaveBoy1994 5 years ago
parent cd31276591
commit e0dc7f3644
  1. 2
      PublicComponent/src/main/java/com/arialyy/aria/core/group/SimpleSchedulers.java

@ -122,7 +122,7 @@ final class SimpleSchedulers implements Handler.Callback {
== mGState.getSubSize()) {
mQueue.clear();
mGState.isRunning.set(false);
if (mGState.getCompleteNum() > 0) {
if (mGState.getCompleteNum() > 0&&Configuration.getInstance().dGroupCfg.isSubFailAsStop()) {
ALog.e(TAG, String.format("任务组【%s】停止", mGState.getGroupHash()));
mGState.listener.onStop(mGState.getProgress());
} else {

Loading…
Cancel
Save