mirror of
https://github.com/overcuriousity/autopsy-flatpak.git
synced 2025-07-15 01:07:42 +00:00
Disabled progress on file extraction. Caused exception with multiple files being exported
This commit is contained in:
parent
6907bc6735
commit
1049637421
@ -205,15 +205,19 @@ public final class ExtractAction extends AbstractAction {
|
|||||||
});
|
});
|
||||||
progress.start();
|
progress.start();
|
||||||
progress.switchToIndeterminate();
|
progress.switchToIndeterminate();
|
||||||
|
|
||||||
|
/* @@@ Add back in -> Causes exceptions
|
||||||
int workUnits = 0;
|
int workUnits = 0;
|
||||||
for (FileExtractionTask task : extractionTasks) {
|
for (FileExtractionTask task : extractionTasks) {
|
||||||
workUnits += calculateProgressBarWorkUnits(task.source);
|
workUnits += calculateProgressBarWorkUnits(task.source);
|
||||||
}
|
}
|
||||||
progress.switchToDeterminate(workUnits);
|
progress.switchToDeterminate(workUnits);
|
||||||
|
*/
|
||||||
|
|
||||||
// Do the extraction tasks.
|
// Do the extraction tasks.
|
||||||
for (FileExtractionTask task : this.extractionTasks) {
|
for (FileExtractionTask task : this.extractionTasks) {
|
||||||
ExtractFscContentVisitor.extract(task.source, task.destination, progress, this);
|
// @@@ Note, we are no longer passing in progress
|
||||||
|
ExtractFscContentVisitor.extract(task.source, task.destination, null, this);
|
||||||
}
|
}
|
||||||
|
|
||||||
return null;
|
return null;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user