Fix progress bar when optimized copy or optimized move

When optimized copy or optimized move, if progress tracker is
ByteCountProgressTracker, it will not record any byte copied.
Add a function to record it.

Fix: 139777488
Test: manual
Test: atest DocumentsUIGoogleTests
Change-Id: I8ebc7eb2822f0b7743dc6b979359d43b0d1de07d
2 files changed