Fixed
Status Update
Comments
rp...@google.com <rp...@google.com> #2
Kun: We need to figure out why this is happening in some cases.
ku...@google.com <ku...@google.com> #3
I got great help from @samlin, he managed to reproduce the issue.
Internal storage of 6442450944B (= 6GB) is declared -- but we assume it's 6442450944MB...
Usually, 'disk.dataPartition.size=xxM' in config.ini has unit clearly stated, like this, MB.
However, if unit is not provided, when we do 'getStorageFromIni', MB is assumed as default unit in avdmanager source code.
I suspect that Byte is considered as default unit in config.ini, which causes the issue. Meaning, default units are not aligned.
@lfy, what do you think? Please provide your input.
Internal storage of 6442450944B (= 6GB) is declared -- but we assume it's 6442450944MB...
Usually, 'disk.dataPartition.size=xxM' in config.ini has unit clearly stated, like this, MB.
However, if unit is not provided, when we do 'getStorageFromIni', MB is assumed as default unit in avdmanager source code.
I suspect that Byte is considered as default unit in config.ini, which causes the issue. Meaning, default units are not aligned.
@lfy, what do you think? Please provide your input.
lf...@google.com <lf...@google.com> #4
Yes, that's correct. We should assume bytes not MB when getting storage
values from ini if MB is not specified. For others, like ram size, please
leave them untouched.
On Fri, Mar 29, 2019 at 9:56 PM kunshen <buganizer-system+kunshen@google.com>
wrote:
values from ini if MB is not specified. For others, like ram size, please
leave them untouched.
On Fri, Mar 29, 2019 at 9:56 PM kunshen <buganizer-system+kunshen@google.com>
wrote:
ku...@google.com <ku...@google.com> #5
Set default unit to Byte when decoding storage info string from the INI file.
Description
Internal Storage: 6442450944