Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit dbf65126 authored by lumark's avatar lumark
Browse files

Using the number of copied docs to calculate completed when required bytes is zero.

Fix notification will show "NaN %" when copy empty directory or empty file.

Also refector getProgressNotification() & speed estimation part to track
copy progress by ProgressTracker.

Change-Id: I62f104ef6b4391ab0cd7d5b3257ab09c2ca8da24
Fixes: 29616419
Test: atest DocumentsUITests:CopyJobTest#testCopyEmptyDir
Test: atest DocumentsUITests:CopyJobTest#testCopyProgressWithFileCount
Test: atest DocumentsUITests:CopyJobTest#testCopyProgressWithByteCount
Test: Manual, make sure notification progress & speed estimation
      work for Copy / Move / Compress job.
parent 0c501c07
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment