commit | d1214c9c92b6a4a44cfc46125c33d071a0f3d880 | [log] [tgz] |
---|---|---|
author | Jeff Sharkey <jsharkey@android.com> | Tue Feb 19 17:11:41 2013 -0800 |
committer | Jeff Sharkey <jsharkey@android.com> | Tue Feb 19 17:11:41 2013 -0800 |
tree | 580d8d0d8d241bcb41be3d00adbe0d3d89bbd741 | |
parent | 2eb144d8effed2dbb067957c5b25e735233bca89 [diff] |
Only report speeds from full samples windows. Wait until we've passed a full sample window (500ms) before reporting an estimated speed. This avoid showing skewed times like "900 hours remaining." Also remember to clean up the UpdateThread. Bug: 8176417 Change-Id: I851e0abcbb443114abe9c22f4650fee7a9bc3aaa