Calculation mistake at counting update file size in GB (OS update)
- /e/ version: 0.18-q
- Device model(s): h850
- Device rooted: no
Summary
Calculation mistake at counting file size (OS update): the downloaded file size is miscalculated. Reappearing.
The problem
Steps to reproduce
Download OS update release. Make screenshots of the download progress. Recalculate the seen data.
What is the current behavior?
The displayed numbers do not match. The OS calculated ration is higher than the expected value. Or the downloaded volume is lower than it is in reality.
What is the expected correct behavior?
The displayed data match. Including the numerical rounding.
Technical informations
Relevant logs (adb logcat
)
Relevant screenshots
- Ratio displayed: 95%
- Ratio calculated: 0.871/0.960=91%
- Here, it is irrelevant whether the volume of the whole package is 0.964 or 0.955MB.
Solutions
Workaround
Possible fixes
Edited by Žroutík