| Commit message (Collapse) | Author | Age | Files | Lines |
|\
| |
| |
| |
| | |
* commit 'f918429d0c1927a19d688baa26a07c2c65765580':
Uniform "when" to avoid flashing notifications.
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
When showing a download, remember the first timestamp when we showed
a notification, and use that time as "when" for all future updates
to avoid flashing.
Also bring back icon animation that had regressed.
Bug: 6596416, 6237256
Change-Id: Ifdc5dc6870dac047515151c1b088e6e379b6a063
|
|\ \
| |/
|/|
| |
| | |
* commit '0acd13fed2f4d0857ce89565fe94674c09b1e844':
avoid repetition of retrying download
|
| |\ |
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
If isReadyToStart returns 'true' for STATUS_INSUFFICIENT_SPACE_ERROR,
DownloadProvider retries downloading after it gets requests from
browser to download contents. The retrying loop won't stop until
its completion (recovering from space error), or user stops
downloading. This retry loop impacts to network traffic, battery
consumption and packet charge. So, change this method to return
'false' for the error in order to stop the loop.
Change-Id: Ia3466db60d86c5900842c7c28d294898ae3ff2bc
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
When multiple users are active, this can accidentally delete files
belonging to other users. Checking owner also helps us avoid
deleting recover and lost+found.
Bug: 6362988
Change-Id: Ifc165acc9a9b3ab253a4b6257f370836b98b3a74
|
| | |
| | |
| | |
| | |
| | | |
Bug: 6371718
Change-Id: Id661210101b01daf8f5d46a318c32dbb9de9a4fb
|
| | |
| | |
| | |
| | |
| | | |
Bug: 6362988
Change-Id: Iab4b86cfcaa6aeed6466f88ff49eb935f96db495
|
| | |
| | |
| | |
| | |
| | | |
Bug: 6358473
Change-Id: Ied4a6c8194d0cbb735e43cf7d7759f4674efe535
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Include flag with each download to indicate if its allowed to proceed
over metered networks. Downloads are left in WAITING_FOR_NETWORK
state, similar to how ALLOWED_NETWORK_TYPES is handled.
Also keep blocked downloads in WAITING_FOR_NETWORK state instead
of marking them as failed.
Bug: 3001465, 5734560
Change-Id: I80bb9aa9bd25ddf6f7a2472db344b6ba6878bd74
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
When viewing file://-style downloads, open through DownloadsProvider
so that FLAG_GRANT_READ_URI_PERMISSION works. Add support for
OpenableColumns to support external apps probing for metadata.
Bug: 6343461
Change-Id: I630405406321ea1871c62cbcded55a4ee024ef6e
|
| | |
| | |
| | |
| | |
| | | |
Bug: 4997552
Change-Id: I3c612acb5145a7638c9345a376a99958851a0891
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Include platform version, model, and build, when available. Matches
current logic used by Browser.
Bug: 6257336
Change-Id: I0addfd944aff13bd4ce4226bb8d6328da6b0f5d5
|
| | |
| | |
| | |
| | | |
Change-Id: I21e5f6280748529bad881942f8f5534aa374ba55
|
| | |
| | |
| | |
| | |
| | | |
Bug: 4726601
Change-Id: Ibe537bd5c2a092dbf974360cd454751881f7f4ea
|
| | |
| | |
| | |
| | | |
Change-Id: I78b6b0380a42b28f42334f93e0538ba7f32bc66d
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Because the NetworkInfo included in CONNECTIVITY_ACTION broadcast
extra does not reflect the state applicable to the calling UID, and
the last sticky broadcast may have stale state, transition to calling
ConnectivityManager.getActiveNetworkInfo() directly.
Change-Id: Ie7a143e621e5a3a013ec6d8b8613709e7787dc0c
|
| | |
| | |
| | |
| | | |
Change-Id: Ideeb8cbeaa4b4d82d7c9fc8197a35bf3541a22d7
|
|\| |
| | |
| | |
| | |
| | | |
* commit '380044a236ffba16a800cb683fa648860dcfd573':
Allow downloads when no network restriction set.
|
| |/
| |
| |
| |
| |
| |
| |
| |
| | |
Fixes bug where DownloadManager would block downloads on WiMAX,
bluetooth, and ethernet networks, even when no network restrictions
had been set.
Bug: 5689335
Change-Id: I6d1bb78cbccb3c5eb1fce40a13b0689be0c3fa13
|
|/
|
|
|
| |
Bug: 5606426
Change-Id: I9b9cee142c360da2a30a4bb8be8dcf40b8c7e43e
|
|\ |
|
| |\ |
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Database values can be stale, so delay sanity check until after
updating from file size on disk.
Bug: 5484249
Change-Id: Ia648a575d4a3a391a1f06a866c8282f2d569f15e
|
|\| |
| | |
| | |
| | |
| | |
| | |
| | | |
into ics-mr0
* commit '3074179d22e9d7e1f506b85dca866301a6206156':
add more logging when download manager deletes files
|
| |\ \ |
|
| | |/
| | |
| | |
| | | |
Change-Id: I4d402e28996887fc1dba89b2764575c91c2c523b
|
| |/
| |
| |
| | |
Change-Id: I39bcb3c7c4625659b0e8b0f3e2971beabb017b48
|
|\|
| |
| |
| |
| | |
* commit 'c5c30ba14d411b3e23c983912e7fea4f449c9f54':
NPE check before finalizeDestinationFile().
|
| |
| |
| |
| |
| | |
Bug: 5461417
Change-Id: I16f1e8594162b006b80bf7f2cdc6630d0dedfa38
|
|\ \ |
|
| |/
| |
| |
| |
| | |
Bug: 5449870
Change-Id: I3219273be9b796b123545c811e5f39fa83b5768e
|
|/
|
|
| |
Change-Id: Id4800401c16811df9c4ee78ee9636c77b4c95756
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This regression from GB was introduced by 38f1711910715538d6b64e505fe8fb9a0cd40475,
which was intended to allow duplicate downloads of the same file, adding -<n> to
the end of file names. As a side effect, this also activated extension validation
logic, which adds/changes an extension to match the Mimetype.
This change keeps the unique filename logic but prevents extension changes when an
explicit filename is set. Thus, it is still possible for the actual download
location to differ from the requested one, but only if the file already exists.
Bug: 5196436
Change-Id: I198dc2a819c5d839a05b72c25e0830d889a9c5a3
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
DownloadThread was only maintaining ETag and the file size for the
duration of one HTTP request, rather than over all the requests needed
to fetch a file, which kind of defeats the point of having them. Fix
this by moving several state variables from InnerState to State, and
initializing the total bytes and current bytes values from the
download database.
Skip actually making the HTTP request if we've already downloaded all
the bytes of the file. This works around bug 5217390 by making the
second DownloadThread do nothing instead of trying to fetch past the
end of the file. (A real fix would eliminate the race condition that
causes the second thread to get created in the first place.)
Bug: 5217390
Change-Id: Ib5b8f87398b4ed2cb3d7f09569e245b55a89da5a
|
|
|
|
|
|
|
|
| |
Instead of using custom layout to surface progress information, use
new Builder API. Also use resources to build percent string.
Bug: 4022082
Change-Id: I556a666771e9103ce5d7ddb60faa879b8777b284
|
|
|
|
|
|
|
|
|
| |
- Checking download data dir instread of /cache.
- Trying to remove stale files regardless of the low space thereshold.
(Note: This bug happens when download dir size is 100mb and there is a
file > 100mb in /cache.)
Change-Id: Iacded74eaadb2aa7f0af8d1b7e0f922e81c7e07c
|
|
|
|
|
|
| |
Bug: 5010576
Change-Id: I2f9bcad41cf50ed0b17dd487d0389f7b38500fd7
|
|
|
|
|
| |
Bug: 4948913
Change-Id: I831b9149208f0cc007cf3ebede3ef433b2636600
|
|
|
|
|
|
|
|
|
|
|
| |
Now network access is determined by using getActiveNetworkInfoForUid()
which uses BLOCKED to indicate that network should be rejected for
the requesting UID. While download in progress, watch for any policy
changes that should trigger pause.
Also check NetworkInfo.isConnected() for correctness.
Change-Id: I1efa79823f15ecc3fa088a6719da1b770c64b255
|
|\
| |
| |
| | |
files to .fl files during downloading For bug 3188041"
|
| |
| |
| |
| |
| |
| |
| | |
to convert .dm files to .fl files during downloading
For bug 3188041
Change-Id: I882b851664432fba3e57dc25a6be827b48006e69
|
| |
| |
| |
| |
| |
| |
| |
| | |
Tag active downloads, and account data usage towards UID that made
the original request. Also release WakeLock only after we've cleaned
up the download.
Change-Id: I72d58c6a51beaeb357e59aae4d7c0f5ac9abaa8d
|
| |
| |
| |
| |
| | |
Bug: 3136228
Change-Id: I77c4f998c9718c7630800dec152779ff59186187
|
| |
| |
| |
| |
| |
| |
| |
| | |
Updates list of allowed visibility values to enable Request builders
to use Request.VISIBILITY_VISIBLE_NOTIFY_COMPLETED.
Bug: 4283223
Change-Id: I8ebe4a13f95a58f25f6025946a6d4725261717f2
|
|/
|
|
|
|
| |
since before 1.0.
Change-Id: Iba18a18547a161c1aa432a434b6c8f64693fb194
|
|\
| |
| |
| |
| |
| |
| | |
into honeycomb-mr1
* commit '32d9917cd4f56cabcbafa645c8cd89cd832ac523':
bug:4121206 handle STOPSHIP comments/code
|
| |
| |
| |
| | |
Change-Id: I3c9f8e3b11dd301a0921d89e0333883489f37e55
|
|/
|
|
| |
Change-Id: Ibbce0782fcf7649209d6f56be240209cebd9045b
|
|
|
|
| |
Change-Id: I033ba6abeed55c5ac76142c7a2e4849b8e044680
|