| Commit message (Collapse) | Author | Age | Files | Lines |
|\
| |
| |
| | |
https://android.googlesource.com/platform/packages/providers/DownloadProvider into aosp
|
| |
| |
| |
| |
| |
| |
| |
| |
| | |
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
|
|/
|
|
|
|
|
|
|
|
|
|
|
|
| |
After developing the fix, reviewed history and found the following two commits:
Add the same logic...
https://github.com/CyanogenMod/android_packages_providers_DownloadProvider/commit/0a77c62a82503b38c484e0079648f0231dd85d53
Removed the logic...
https://github.com/CyanogenMod/android_packages_providers_DownloadProvider/commit/ebb555c0687061993dd6a22d15f6aab2437ee8c5
Not a real clear explanation of why it was removed
Change-Id: I852927649204a89d9960338a272ea1e62b4f5167
|
|\ |
|
| |\ |
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
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
|
|
|
|
| |
Change-Id: I6192a829c7cac86c55a0f67364ebd722504d5dc7
|
|
|
|
| |
Change-Id: Iad8cfe0da389a70ff679cf6d3378f50e945d03a6
|
|
|
|
| |
Change-Id: I9f9f6f2e0b2bd18f3767574fc51301b75bb1b76d
|
|
|
|
|
|
|
| |
this bug is not so easy to reproduce.
so, this CL will produce some additional logging info for better insight
Change-Id: I0d53c647f1b98a49eb93b937c8e7203723c33dbe
|
|
|
|
|
|
| |
and retry downloads that failed due to the error "sdcard media not mounted"
Change-Id: Id181b8167d331214f72679c85f18cc8b9b969e40
|
|\
| |
| |
| |
| |
| |
| | |
don\'t check mobile download limits"
* commit '6e9abd8e04c4aaafb8493a25efc34f4dd4fa6013':
Revert "bug:3414192 if otaupdate column is set, don't check mobile download limits"
|
| |
| |
| |
| |
| |
| | |
limits"
This reverts commit ea245800c69d6bc10dc2680e6a242f59e9cb49b6.
|
|\|
| |
| |
| |
| |
| |
| | |
flag set, validate caller\'s perms" into honeycomb"
* commit '49663f1ffe58a546fb0d2ab84898843ef5e89eb5':
Revert "Merge "bug:3341145 if ignore_size_limits flag set, validate caller's perms" into honeycomb"
|
| |
| |
| |
| |
| |
| |
| | |
perms" into honeycomb"
This reverts commit 3e7bb1c5d7e7d1a013df959c1a6947b33df0a0fd, reversing
changes made to b2085f61b37ad4a70c799012f25ff62a38173f68.
|
|\|
| |
| |
| |
| | |
* commit 'afefa43d9919f9284885f7080111c54a50c4fc90':
Revert "bug:3420722"
|
| |
| |
| |
| | |
This reverts commit 1cccc19b596f168ed34126db38b046ab164e063b.
|
|\|
| |
| |
| | |
Change-Id: I477599f16db5ea64e4fbc4d2be68dcedf2c80269
|
| |
| |
| |
| | |
Change-Id: Id40d2dbbefe5fa2546f8c5231be5f7fe9a7b43d6
|
|\|
| |
| |
| | |
Change-Id: I27a615509269f256cf66de2dd217d8c4667caab4
|
| |\
| | |
| | |
| | | |
into honeycomb
|
| | |
| | |
| | |
| | |
| | |
| | | |
and then of course ignore the mobile network size limits
Change-Id: I6765be9255187f93bd51acecc19a15db4f324204
|
|\| |
| | |
| | |
| | |
| | | |
* commit '6a60166341f38841e9fc2c97da40423528f16d7d':
Bug 3341145 - Holo styling for download dialog
|
| |/
| |
| |
| | |
Change-Id: I20049f8affe7e2ff919ecf8f6b1b7dd220143111
|