Download infobar : Fixed byte size string
Since Formatter.formatFileSize switched to SI system starting from android-O, we show 1.07GB for a 1GB file. Using our own formatter that works with multiples of 1024 fixes this issue which is also used for download home and notifications. Bug: 891457 Change-Id: I238c0a2654908d550c91f4c77ec9a5a802bd6775 Reviewed-on: https://chromium-review.googlesource.com/c/1315700Reviewed-by:Min Qin <qinmin@chromium.org> Commit-Queue: Shakti Sahu <shaktisahu@chromium.org> Cr-Commit-Position: refs/heads/master@{#605156}
Showing
Please register or sign in to comment