Bug P2
Status Update
Comments
vi...@google.com <vi...@google.com> #2
ma...@google.com <ma...@google.com> #3
Low-hanging fruit. Shalom, mind taking a look during your work for PIs and loaders?
jo...@gmail.com <jo...@gmail.com> #4
We can check for NaN
, but what is the expected behavior here if a NaN
is passed in?
- We can throw an exception, but that would end in the same result you are experiencing now (i.e. a crash if you don't handle it)
- We can just set the progress to zero in cases of
NaN
s, but then you would not be able to tell that you have a problem in your implementation and you are passing in illegal values. - We can document it that we only expect a non
NaN
values, but that seems a bit redundant and we don't usually adding these to the docs as it's implicit in most cases.
is...@google.com <is...@google.com>
da...@gmail.com <da...@gmail.com> #5
On my end, I discovered it was caused by division by zero and just set the bar to indeterminate in that case.
Description
Upon restarting the phone, it is able to establish a data connection just fine, after a few seconds however, the phone looses all service showing an "!" with the signal bars, it then regains the connection a few seconds later. This happens in quick succession several times before the data connection appears to be stable, at which point everything works as intended. This however only lasts for a few minutes, usually less than 5, before the data connection is dropped entirely. There is still signal as there are signal bars visible, however there is no data indicator next to them, and no data features on the phone work.
The only work around is to either restart the phone, or turn airplane mode on and off, at which point a data connection gets reestablished, before being lost again a few minutes later.
I have included a bug report taken after a restart and subsequent data connection loss.