diff options
author | Jeff Sharkey <jsharkey@android.com> | 2012-11-28 14:35:40 -0800 |
---|---|---|
committer | Jeff Sharkey <jsharkey@android.com> | 2012-11-28 14:35:42 -0800 |
commit | fec5f50a85e1bfc7bb4fa12d04ffa7526c79fad7 (patch) | |
tree | 93926fa30b621cdce8b93ba8382580f9bc0f96d3 /ui | |
parent | f818eecf1b60ddba2854314863243d6aa87707b0 (diff) | |
download | android_packages_providers_DownloadProvider-fec5f50a85e1bfc7bb4fa12d04ffa7526c79fad7.tar.gz android_packages_providers_DownloadProvider-fec5f50a85e1bfc7bb4fa12d04ffa7526c79fad7.tar.bz2 android_packages_providers_DownloadProvider-fec5f50a85e1bfc7bb4fa12d04ffa7526c79fad7.zip |
Improve download remaining time calculation.
Calculate remaining time in DownloadNotifier so we always use the
most recent progress data, which avoids showing stale times.
Weight speed calculation to prefer historical data so remaining time
is smoother on bumpy network connections.
Bug: 7631948
Change-Id: I497be0899e65086356745340b19d3987c6185bdd
Diffstat (limited to 'ui')
0 files changed, 0 insertions, 0 deletions