commit | e52320e755823fc94e3be11fefa7d5d718daba24 | [log] [tgz] |
---|---|---|
author | Edgar Wang <edgarwang@google.com> | Wed May 31 18:42:11 2023 +0800 |
committer | Edgar Wang <edgarwang@google.com> | Tue Jun 27 06:29:00 2023 +0000 |
tree | dd9cf07f7adda33c3a68d60ea2af8a61856bfff3 | |
parent | 0df79b1cccc4713902f92b9d599c99dab875bb4c [diff] |
Correct used size of Storage Settings. Since StorageManager rounded the totalBytes of device storage but they don't do that rounding for freeBytes. So in some cases the freeBytes can be greater than totalBytes. We propose to get totalBytes of device storage directly to calculate correct privateUsedBytes. Test: robotest Bug: 281955532 Change-Id: I4f137c20e7c2f54f4e037d50e81b3176edc1a83a