fix: Sentry312134...
This commit is contained in:
@ -951,11 +951,9 @@ public class DownloadManager implements DownloadStatusListener {
|
||||
* 立马通知 dataWatcher 更新下载任务状态
|
||||
*/
|
||||
private void notifyDownloadStatusASAP(DataWatcher dataWatcher) {
|
||||
AppExecutor.getIoExecutor().execute(() -> {
|
||||
for (DownloadEntity downloadEntity : getAllDownloadEntitySnapshots()) {
|
||||
AppExecutor.getUiExecutor().execute(() -> dataWatcher.onDataInit(downloadEntity));
|
||||
}
|
||||
});
|
||||
for (DownloadEntity downloadEntity : getAllDownloadEntitySnapshots()) {
|
||||
dataWatcher.onDataInit(downloadEntity);
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user