4233f032fd41e82d1ce09b48860f8ae3f73fa5e0 |
|
15-Jul-2017 |
Jeff Sharkey <jsharkey@android.com> |
Test if allocation supported; @removed clean up. SM.allocateBytes() doesn't offer a clear way to detect if a failed request could ever succeed. (For example, we can never work with pipes, or files on an unsupported storage device.) So give developers a first-class API to test if allocation is supported. If the underlying filesystem doesn't support fallocate(), fall back to ftruncate() instead of failing completely. Clean up @removed APIs that were refactoring during API 26 review process. Remove support for storing downloads on the /cache partition, which doesn't exist on many devices. Bug: 63057877 Test: bit DownloadProviderTests:* Test: bit DocumentsUITests:com.android.documentsui.services.CopyJobTest Test: bit DocumentsUITests:com.android.documentsui.services.MoveJobTest Change-Id: I85d42a1a7240034b4f2a6f359011ac182bdce36e
/frameworks/base/core/java/android/app/DownloadManager.java
|
d86b8fea43ebb6e5c31691b44d8ceb0d8d3c9072 |
|
03-Jun-2017 |
Jeff Sharkey <jsharkey@android.com> |
Annotate @SystemApi with required permissions. Most @SystemApi methods should be protected with system (or higher) permissions, so annotate common methods with @RequiresPermission to make automatic verification easier. Verification is really only relevant when calling into system services (where permissions checking can happen on the other side of a Binder call), so annotate managers with the new @SystemService annotation, which is now automatically documented. This is purely a docs change; no logic changes are being made. Test: make -j32 update-api && make -j32 offline-sdk-docs Bug: 62263906 Change-Id: I2554227202d84465676aa4ab0dd336b5c45fc651
/frameworks/base/core/java/android/app/DownloadManager.java
|
8d5d065cdf4cbd141eb1d57cb9fc7216a807d5d1 |
|
04-Apr-2017 |
Jeff Sharkey <jsharkey@android.com> |
Add legacy DownloadManager actions to SystemApi. They're still used by at least one bundled app. Test: builds, boots Bug: 35256608 Change-Id: I45966b3e0ed506ead4544bbbfc9d82b7f9d5205d
/frameworks/base/core/java/android/app/DownloadManager.java
|
b72e835129fd39a2d5518f77a2c72d8e62d50ff1 |
|
17-Sep-2016 |
Jeff Sharkey <jsharkey@android.com> |
Merge commit '0a9d537f623b2c11dce707fb9b91fea016fd0e9f' into manual_merge_0a9d537 am: df42d732f8 am: afcd1135c3 am: fc1c0f9dff am: 33ada2e927 am: db901ee296 am: bd5d0049d7 am: f7caea844f Change-Id: Ifa9167a9a69240712a59b90839a32605cfdd7037
|
db901ee296866588699fec8a289da6a2a59a5702 |
|
17-Sep-2016 |
Jeff Sharkey <jsharkey@android.com> |
Merge commit '0a9d537f623b2c11dce707fb9b91fea016fd0e9f' into manual_merge_0a9d537 am: df42d732f8 am: afcd1135c3 am: fc1c0f9dff am: 33ada2e927 Change-Id: I9b6d2b6f9101e7e7610f191cd4927d568ae0476a
|
df42d732f820f9a555a97577323dd42ef192f4f8 |
|
17-Sep-2016 |
Jeff Sharkey <jsharkey@android.com> |
Merge commit '0a9d537f623b2c11dce707fb9b91fea016fd0e9f' into manual_merge_0a9d537 Change-Id: Ib1a0bbb34edb61666ac5739f0b0eaadbe4c5fe06
|
15471944181f34184e6c6eaf6175ed115919545c |
|
16-Sep-2016 |
Jeff Sharkey <jsharkey@android.com> |
Use "all_downloads" instead of "my_downloads". We can no longer return the "my_downloads" paths: if those Uris were shared beyond the app that requested the download, access would be denied. Instead, we need to switch to using "all_downloads" Uris so that permission grants can be issued to third-party viewer apps. Since an app requesting a download doesn't normally have permission to "all_downloads" paths, DownloadProvider now issues narrow grants toward the owner of each download, both at device boot and when new downloads are started. Bug: 30537115, 30945409 Change-Id: I533125b36444877f54373d88922f2acc777e250b
/frameworks/base/core/java/android/app/DownloadManager.java
|
ce763d8bac85d404a36e82eb195c33e00a0ceb10 |
|
03-May-2016 |
Ben Lin <linben@google.com> |
Add support for search in DownloadManager. Bug: 26524617 Change-Id: I41c0f92381bec8ad06db73b25ec67466f368b55c
/frameworks/base/core/java/android/app/DownloadManager.java
|
726bf6a3cee7623d8a3e0da2cb9e958216a5b272 |
|
27-Apr-2016 |
Ben Lin <linben@google.com> |
Add ability to rename a downloaded file. Bug: 28359663 Change-Id: I2674720777c7aafd81e8395e873967fd5d7a2f26
/frameworks/base/core/java/android/app/DownloadManager.java
|
f07c7b9fd0a640bff4bf7690373613da217fe69b |
|
22-Apr-2016 |
Jeff Sharkey <jsharkey@android.com> |
API changes for DownloadManager and JobScheduler. To support moving DownloadManager, add new JobScheduler network type constraint that matches "any network except roaming." Also add an API to get a specific JobInfo by ID. Since the default network can be different on a per-app basis, and individual apps may be blocked due to app standby, evaluate job connectivity constraints on a per-UID basis. To implement this cleanly, add NetworkInfo.isMetered() to match the isRoaming() API. Add new DownloadManager APIs to support charging and device idle constraints, which are plumbed through to JobScheduler under the hood when scheduled. Add filtering to JobScheduler dumpsys to omit noisy details for packages the caller isn't interested in. Bug: 28098882, 26571724, 19821935 Change-Id: I09ca7184ef7ce6adba399f579d415a5fb2ea6110
/frameworks/base/core/java/android/app/DownloadManager.java
|
281c182cb8f743a84d820b261b750314780c9a17 |
|
31-Mar-2016 |
Jeff Sharkey <jsharkey@android.com> |
Keep COLUMN_LOCAL_URI working for now. Bug: 26515039 Change-Id: I48f3ef90443b01fb75a3852e5cfdd83a9bbcac0f
/frameworks/base/core/java/android/app/DownloadManager.java
|
d0ee17d926cce445bcd22b15e80e725aa4639895 |
|
25-Mar-2016 |
Edward Cunningham <ejc@google.com> |
Merge "DO NOT MERGE Revert "Revert "DO NOT MERGE Extend the DownloadManager.addCompletedDownload() method to support origin details.""" into nyc-dev
|
abb2c5af8ebd298d5613908fc0f73db4a5dfac5b |
|
25-Mar-2016 |
Edward Cunningham <ejc@google.com> |
DO NOT MERGE Revert "Revert "DO NOT MERGE Extend the DownloadManager.addCompletedDownload() method to support origin details."" This reverts commit c6f5738d3c8621d2e682026e35e57f540750d117. Change-Id: Ibb330f44c3910b3fc124ee8c718a508cdf3b32b4
/frameworks/base/core/java/android/app/DownloadManager.java
|
0c2ccd0598d818319948f109d0edff6e6fadc90b |
|
22-Mar-2016 |
Jeff Sharkey <jsharkey@android.com> |
Throw the right exception flavor. Change-Id: Ie017fce925ed0122d3820c3f3d91e1b86982a7b1
/frameworks/base/core/java/android/app/DownloadManager.java
|
c6f5738d3c8621d2e682026e35e57f540750d117 |
|
24-Feb-2016 |
Edward Cunningham <ejc@google.com> |
Revert "DO NOT MERGE Extend the DownloadManager.addCompletedDownload() method to support origin details." This reverts commit baccf15a4adafe3fb3fdf23c35ea29d95c45c89b. Change-Id: If218d579cbf473fdab2b16a715a5dbb75dc9fbbc
/frameworks/base/core/java/android/app/DownloadManager.java
|
baccf15a4adafe3fb3fdf23c35ea29d95c45c89b |
|
05-Feb-2016 |
Edward Cunningham <ejc@google.com> |
DO NOT MERGE Extend the DownloadManager.addCompletedDownload() method to support origin details. Bug: 20294239 Change-Id: Ic770a223c23013ebab08d22dd14e7192dc8e3109 (cherry picked from commit 735a31e093d9262139c1da6bf426bc8166d4b18e)
/frameworks/base/core/java/android/app/DownloadManager.java
|
aec99bf78ff2404bf5497fdcb01430150709d8b3 |
|
07-Jan-2016 |
Jeff Sharkey <jsharkey@android.com> |
Internal components still need filename access. Give them a way to force-enable filename access, bypassing the recently added deprecated check. Bug: 26438975 Change-Id: Ifd1e3debf7c7b3113907a5f2815c29ddb7db581f
/frameworks/base/core/java/android/app/DownloadManager.java
|
60cfad80bdf61db436643927337c2fb30186e99d |
|
06-Jan-2016 |
Jeff Sharkey <jsharkey@android.com> |
Discourage use of "_data" column. Moving forward, all client file access really needs to be going through explicit APIs like openFileDescriptor(), since that allows the provider to better protect its underlying files. This change also changes several classes to use the AutoClosable pattern, which enables try-with-resources usage. Older release() methods are deprecated in favor of close(). Uniformly apply CloseGuard across several classes, using AtomicBoolean to avoid double-freeing, and fix several resource leaks and bugs related to MediaScanner allocation. Switch MediaScanner and friends to use public API instead of raw AIDL calls. Bug: 22958127 Change-Id: Id722379f72c9e4b80d8b72550d7ce90e5e2bc786
/frameworks/base/core/java/android/app/DownloadManager.java
|
b11683ba623c9da71c39f4b4531357d8e67467aa |
|
29-Jul-2015 |
Jeff Sharkey <jsharkey@android.com> |
Always return content Uri for downloads. Now that we're relying more heavily on Uri permission grants between apps, we should always return content:// Uris. Bug: 22820206 Change-Id: Ie9603da09944dc594ea5dde2db04455f57d6f103
/frameworks/base/core/java/android/app/DownloadManager.java
|
66629bc540ece2842f8892dfa616c2a9a8318356 |
|
11-Jun-2015 |
Alex Klyubin <klyubin@google.com> |
Document that DownloadManager supports HTTPS. Bug: 14112655 Change-Id: I37708553b7ae2f48dcd574f3c66daa8dfdd00f3a
/frameworks/base/core/java/android/app/DownloadManager.java
|
92a262c7f4cc29c5cb59e200b778dcb835881179 |
|
04-Nov-2013 |
John Spurlock <jspurlock@google.com> |
Docfixes for DownloadManager. Change-Id: If01420ed3964fda89c459d3f9021b5088520b6b1
/frameworks/base/core/java/android/app/DownloadManager.java
|
32cd2fb59601432e134e10d2c6720b2e70b6c2fe |
|
02-Oct-2013 |
Jeff Sharkey <jsharkey@android.com> |
Docs change: annotate media intent actions. Bug: 11043141 Change-Id: I66777c5ce25014d8e64da5b4ce3f70334befb0b7
/frameworks/base/core/java/android/app/DownloadManager.java
|
b180a65d41adc731cbff1536c7ede15174bc08e1 |
|
23-Sep-2013 |
Jeff Sharkey <jsharkey@android.com> |
Allow saving to Downloads. Uses new column to mark writability. Also filter file selection in create mode to only allow writable files. Bug: 10667164, 10893268 Change-Id: I90f74efbb7ac634fbdb3cc02a904a96a434d3605
/frameworks/base/core/java/android/app/DownloadManager.java
|
45d01ea28290993b58fc00a1d952f4e29d576fc8 |
|
26-Mar-2013 |
Jeff Sharkey <jsharkey@android.com> |
Handle external storage errors uniformly. Bug: 6777728 Change-Id: I021db160bc959fdf02bfd448edf977961bd1d9d0
/frameworks/base/core/java/android/app/DownloadManager.java
|
54781207d31fd0fb33c6038b6999ba649fc488b2 |
|
18-Jan-2013 |
Jeff Sharkey <jsharkey@android.com> |
Define failed connections column, and reset. When retrying a download, always reset the failed connections count. Bug: 8022478 Change-Id: I0d799d82dc7a04fe788b8c5faee0045d1e1a9c60
/frameworks/base/core/java/android/app/DownloadManager.java
|
1740ada533dc3bb86d0197eada3bad460809f657 |
|
17-Dec-2012 |
Roger Chen <cxr514033970@gmail.com> |
Handle nested folder case Change-Id: Id6d6a5899e8255d18192adbc766d8d9a0e6825d0 Signed-off-by: Roger Chen <cxr514033970@gmail.com>
/frameworks/base/core/java/android/app/DownloadManager.java
|
bf6f6f9de72c9fd15e6bda9f228c05a9b37d6324 |
|
26-Sep-2012 |
Jeff Brown <jeffbrown@google.com> |
Update references to migrated global settings. Fixed one setting that was migrated but not marked deprecated. Removed a hidden setting that is no longer used by the new power manager service. Bug: 7231172 Change-Id: I332f020f876a18d519a1a20598a172f1c98036f7
/frameworks/base/core/java/android/app/DownloadManager.java
|
011238bd8d4405779a80db8cfdf1b25adcd83e6d |
|
08-Feb-2012 |
HÃ¥kan3 Johansson <hakan3.johansson@sonyericsson.com> |
Adds missing Bluetooth as network type. The network connection type for Bluetooth is added so that it is possible to use Bluetooth as Hotspot during download from the Internet. Change-Id: If8e8a3f69821beef742bc91d7a292a091861b48b
/frameworks/base/core/java/android/app/DownloadManager.java
|
9530e3a22d5ffa2019d1a5177b6a441d4d6d048b |
|
19-Jun-2012 |
Nicolas Falliere <nicof@google.com> |
Added or fixed doctrings for required permissions. Bug: 6591338 Change-Id: Ia2092f9994854701b5fa1425c371817367ae07ec
/frameworks/base/core/java/android/app/DownloadManager.java
|
33f95eda3d24b6364cab343f10d01490e2f53d44 |
|
03-May-2012 |
Jeff Sharkey <jsharkey@android.com> |
Allow adding of completed empty files. Bug: 5281354 Change-Id: I375c3c7ff4ccbb554204ad53a90d35ff4790af6c
/frameworks/base/core/java/android/app/DownloadManager.java
|
15ec7d6d7f23ec197a88619b5e03320cfebd2240 |
|
17-Apr-2012 |
Jeff Sharkey <jsharkey@android.com> |
Add ALLOW_METERED column to DownloadManager. Also allow isActiveNetworkMetered() to inspect networks without requiring ACCESS_WIFI_STATE. Bug: 3001465 Change-Id: Ibc23577d4ad941e4f93db417be6b046881dcbfb1
/frameworks/base/core/java/android/app/DownloadManager.java
|
792e091045d89c875399251f92e015afe8dee412 |
|
16-Apr-2012 |
Jeff Sharkey <jsharkey@android.com> |
DownloadManager and metered networks. API to control whether a download is allowed to use metered networks. Bug: 3001465 Change-Id: I29153d2a7495a2e9f76ef5be0a77696a85823839
/frameworks/base/core/java/android/app/DownloadManager.java
|
8fc27e8b87bd1def854a03d84009143b315d4176 |
|
05-Apr-2012 |
Jeff Sharkey <jsharkey@android.com> |
Support metered Wi-Fi NetworkPolicy. Add networkId field to NetworkIdentity to identify Wi-Fi networks by SSID. Add support for policies without usage cycles. Only apply mobile policies when SIM state is ready, which is cleaner than just checking for airplane mode. Also avoids creating no-op default policies when subscriberId is null. Bug: 3001465, 3291052 Change-Id: I1f8aaa49a5db306df022c402ea7f3f5d4bc0cfc7
/frameworks/base/core/java/android/app/DownloadManager.java
|
fdfef57f498e3021a34342538aef9f1c7ccbae78 |
|
17-Jun-2011 |
Jeff Sharkey <jsharkey@android.com> |
Notify policy listeners about metered ifaces. Currently, kernel definition of metered networks is applied at the interface level. This change maintain list of those metered ifaces and notifies policy listeners, like ConnectivityService. (This gives us a consistent picture of when a network would be blocked.) Bug: 4601393 Change-Id: I277d5ca96ab967a1c1c3f1da8f9587557cd6d74c
/frameworks/base/core/java/android/app/DownloadManager.java
|
1a303953589fdddf21d88b8fa660136f5b060d0d |
|
16-Jun-2011 |
Jeff Sharkey <jsharkey@android.com> |
DownloadManager flags for network policy. Handful of DownloadManager flags to record when a download was paused because of NetworkPolicyManager rules. Change-Id: I99fc47f529cb6c8a42dbeca049e0cd0f1556eac4
/frameworks/base/core/java/android/app/DownloadManager.java
|
372813031008dd335c9d7abbc1c8d284cbd1b1dd |
|
07-Mar-2011 |
Vasu Nori <vnori@google.com> |
bug:3513950 Rename "completedDownload" to "addCompletedDownload" Change-Id: I28b33a0268309d74fd2512b5bdb599f38ff3a96d
/frameworks/base/core/java/android/app/DownloadManager.java
|
17ee56c994ada7eab19ffded8a5ce85bfc3f4e69 |
|
28-Feb-2011 |
Vasu Nori <vnori@google.com> |
fix javadoc on downloadmanager.remove() Change-Id: Id48389acd12343b4dcc18ed3f77ab068b2bc5f85
/frameworks/base/core/java/android/app/DownloadManager.java
|
6bfdf743144f39f5734eb72c37454fc1fd331072 |
|
28-Feb-2011 |
Vasu Nori <vnori@google.com> |
bug:3474580 fix javadoc of all the solutions, fixing the javadoc seems like the most useful thing to do on this otherwise confusing API. Change-Id: I1fb438c1dd21c5a5f6805db277e6a3f119cdd6ce
/frameworks/base/core/java/android/app/DownloadManager.java
|
f9e8523e62fa391e85d393c23a3345887565d426 |
|
10-Feb-2011 |
Vasu Nori <vnori@google.com> |
bug:3425749 send notification for completed download Change-Id: Ib46df5eaa9316fe0fc843fee1e4597e22768f4a8
/frameworks/base/core/java/android/app/DownloadManager.java
|
1b67231483bd4e40aedab611846683b0c816ed27 |
|
04-Feb-2011 |
Vasu Nori <vnori@google.com> |
am 9ec496b4: am e1cbd0a8: Revert "Merge "bug:3414192 new API to designate a download to be OTA update" into honeycomb" * commit '9ec496b484305defa6cbb691b85836ace8b73a02': Revert "Merge "bug:3414192 new API to designate a download to be OTA update" into honeycomb"
|
e1cbd0a85f09a54f8bf28545ac67455b7dcd2532 |
|
03-Feb-2011 |
Vasu Nori <vnori@google.com> |
Revert "Merge "bug:3414192 new API to designate a download to be OTA update" into honeycomb" This reverts commit 6bc710f769618e87b98d51cd02241e6b1a2fb653, reversing changes made to 7ba35f5ab3c838c7f1b3ab957be685ac1f506b2a.
/frameworks/base/core/java/android/app/DownloadManager.java
|
b73fb5401e44014d6c6906b22a7cc6563cb54b92 |
|
03-Feb-2011 |
Vasu Nori <vnori@google.com> |
am 99e8e047: am 6bc710f7: Merge "bug:3414192 new API to designate a download to be OTA update" into honeycomb * commit '99e8e0470249ce145003cc1eabc5ae391af34a06': bug:3414192 new API to designate a download to be OTA update
|
72725ebcad848a72d3e3ac4de250553017910d9f |
|
02-Feb-2011 |
Vasu Nori <vnori@google.com> |
bug:3414192 new API to designate a download to be OTA update Change-Id: Iae2f6185e130324ad956f594e78b1d8b2176c808
/frameworks/base/core/java/android/app/DownloadManager.java
|
e5f92249f18b7ece84af534a7931d43d76dac919 |
|
25-Jan-2011 |
Vasu Nori <vnori@google.com> |
add extra prams to intent to start Download App in sort-by-size mode Change-Id: Icedf50477681bc79582517500748b9a916121903
/frameworks/base/core/java/android/app/DownloadManager.java
|
c0e5075739574e67c825e4841d5cccee55cbfd29 |
|
21-Jan-2011 |
Vasu Nori <vnori@google.com> |
bug:3048327 (master) ability to add completed download to dnload mgr Change-Id: I073436c97d5d7cb8ea6a823488a451017dac3ff2
/frameworks/base/core/java/android/app/DownloadManager.java
|
0abbf809bf46eea21f64fb62c55852783269aca2 |
|
18-Jan-2011 |
Vasu Nori <vnori@google.com> |
bug:3362635 add new public API to downloadmanager to get mxbytesovermobile bug:3362635 Change-Id: I7380964c6098d5ca6396b17980f78457c23d1a87
/frameworks/base/core/java/android/app/DownloadManager.java
|
6916b03e022b7ae391a1ed66a857db6e80b04c65 |
|
20-Dec-2010 |
Vasu Nori <vnori@google.com> |
if a download dir doesn't exist, create it or fail fast in HC, using DownloadManager public API, download directories named by the constants Environment.DOWNLOAD_* may ot exist. theyneed to be created or the download request should fail ASAP. bug:3297328 Change-Id: Ic87023d8fe98bd240744f66607a5400b7825e17e
/frameworks/base/core/java/android/app/DownloadManager.java
|
f83e6e4b7a7fcbfcc8e3b6078f4655fa3e64bce3 |
|
14-Dec-2010 |
Vasu Nori <vnori@google.com> |
bug:3264401 changes to support usage of new downloads dir in /data Change-Id: I209a624523f727d47a4a8f758c13df5d4eac614f
/frameworks/base/core/java/android/app/DownloadManager.java
|
d75e64af99a024a6d1192d1cad71b53c336b93ea |
|
13-Dec-2010 |
Leon Scroggins <scroggo@google.com> |
Do not loop forever. Bug:3279066 Change-Id: I5222c465af2345f643bfd528d580d32ab9ba328e
/frameworks/base/core/java/android/app/DownloadManager.java
|
8da7a4e3451a41808972bfec0af0740e999d9c8a |
|
18-Nov-2010 |
Vasu Nori <vnori@google.com> |
changes to support Change-Id: I572fdfd6d34dbb5a0577c6cf14664b6f2d5700b4 1. add new column constants for : COLUMN_last_updatesrc 2. send downloadid in the uri wherever possible. Change-Id: I49a18506060bf292a0750790042e94b0a35ea9bf
/frameworks/base/core/java/android/app/DownloadManager.java
|
6e2b2a660ebc2f690b341da6e83d2cd2af99ebeb |
|
17-Nov-2010 |
Vasu Nori <vnori@google.com> |
return file uri from downloadmanager instead of content uri for public downloads also add another public method to return mimetype for the given downloaded file change is related to bug:3198355 Change-Id: I90bae443eec36968e0d533d9b07a514df369ac29
/frameworks/base/core/java/android/app/DownloadManager.java
|
98f030742c2889a0906226bd7eea914770b4e13b |
|
16-Nov-2010 |
Vasu Nori <vnori@google.com> |
another bug introduced by some previous refactoring CL bug:3197501 Change-Id: I29342b111ef25c75129b095acee307c5d79f1692
/frameworks/base/core/java/android/app/DownloadManager.java
|
e69924f0d0d25ae5492aadc252c6b7ab42f0aee7 |
|
15-Nov-2010 |
Vasu Nori <vnori@google.com> |
map _data column to local_filename column. bug:3197501 this bug is caused by Change-Id: Ief1693785f0484c1b434fb41a68693f9aff96492 Change-Id: Id654322d587968f50aecc7d965b8d7a8d78ce50d
/frameworks/base/core/java/android/app/DownloadManager.java
|
e16c43bc593c9df411a511494a001a1701d95c03 |
|
07-Nov-2010 |
Vasu Nori <vnori@google.com> |
remove unnecessary code from DownloadManager Change-Id: Ief1693785f0484c1b434fb41a68693f9aff96492
/frameworks/base/core/java/android/app/DownloadManager.java
|
1cde3fbf8f0c6cf712ce4abb0d11c0de792b470a |
|
05-Nov-2010 |
Vasu Nori <vnori@google.com> |
address couple of review comments by reviewers on previous CLs Change-Id: Ifc4529b367651f68fbb4117e449c70bfd9fae462
/frameworks/base/core/java/android/app/DownloadManager.java
|
5be894e636522addc40dad3b631f0249e6cc25cf |
|
03-Nov-2010 |
Vasu Nori <vnori@google.com> |
add API to return Uri for the given downloaded file id & get mimetype Change-Id: I1f5dd734e394db0056579a3a0c26862fee27981e
/frameworks/base/core/java/android/app/DownloadManager.java
|
71b8c23e564d4f9a465845b5c9b6a6c53c1ba96b |
|
28-Oct-2010 |
Vasu Nori <vnori@google.com> |
add NOTIFICATION_CLICK_ constants to DownloadManager DownloadReceive in packages/providers/Downloadproviders sends intents when notification messages are clicked on. When using public API of DM, added code to include download entry ids to the above intents. The constants added here support that code. intents when Change-Id: Ibe53ccd9934c73175459e42e3d417eee69ae6735
/frameworks/base/core/java/android/app/DownloadManager.java
|
4c6e5dfa1c38f32843d209258388b97d4e32314f |
|
27-Oct-2010 |
Vasu Nori <vnori@google.com> |
make notifications appear during downloading AND after completion bug:3132773 Change-Id: I012859fa86055f322069d5120b110c4c8887fb61
/frameworks/base/core/java/android/app/DownloadManager.java
|
ef7e33b9b8647c8417e472986f95a71cb75dde80 |
|
20-Oct-2010 |
Vasu Nori <vnori@google.com> |
remove duplicate code Change-Id: I60faf921de4b9add619e2450e0a19a111ede7984
/frameworks/base/core/java/android/app/DownloadManager.java
|
9ca6d71c52fcfab730b65bb01ff6bd47232c8599 |
|
15-Oct-2010 |
Kenny Root <kroot@google.com> |
resolved conflicts for merge of c6bf3eaa to master Change-Id: I6421faf52c160a81b03c63b91f1aedfe0f151cac
|
216fa22791889774b83977341632c4570dcec35d |
|
13-Oct-2010 |
Vasu Nori <vnori@google.com> |
bug:3069735 in Download UI app, handle deletes correctly gingerbread. (for more detailed comments, please see the dependent CL Change-Id: Ib90eb9e647f543312c865d3bbf9a06fb867a648b ) 2 changes in this CL. 1. add 2 new columns to downloads table in downloads.db: mediaprovider_uri = downloaded file's content_uri in mediaprovider db deleted = flag is set to true if a file is to be deleted 2. download UI app shows only those files whose 'deleted' flag is not set Change-Id: I47c5f72b0a0b354fac3abe3a97752130b8189794
/frameworks/base/core/java/android/app/DownloadManager.java
|
182e5cf105aa71effbdee15628f020214b54774c |
|
12-Oct-2010 |
Vasu Nori <vnori@google.com> |
am a23964f9: am b8f7a483: Merge "bug:3082865 don\'t use IN to construct sql to delete downloads" into gingerbread Merge commit 'a23964f9a1df7fb2f18e350fb4215933674f9991' * commit 'a23964f9a1df7fb2f18e350fb4215933674f9991': bug:3082865 don't use IN to construct sql to delete downloads
|
fae998c860e545e35fd3f4a821837409ee9bcb4e |
|
11-Oct-2010 |
Jean-Baptiste Queru <jbq@google.com> |
resolved conflicts for merge of 7c08b70c to master Change-Id: Ifef07cf23de35db545774d0dee327c2165f8b088
|
e7be6bda2cd3f1e93f306e298a6a8c523a607373 |
|
10-Oct-2010 |
Vasu Nori <vnori@google.com> |
bug:3082865 don't use IN to construct sql to delete downloads DownloadManager should not use IN clause when constructing SQL to delete downloaded files Dowload app. Lexer code in Download app doesn't know how to parse it. Real fix is to fix Lexer. But seriously real fix is to get rid of this complexity - that I am planning for next version. also, the following 2 are identical, in terms of SQL performance WHERE _id IN (?, ?, ?) WHERE (_id = ? OR _id = ? OR _id = ?) Change-Id: Icca659a17c412247a193879e8d2f34e1b43ec9e5
/frameworks/base/core/java/android/app/DownloadManager.java
|
ee04af3ed40103bc1e3ed5f6ab9e0094d893bceb |
|
08-Oct-2010 |
Doug Zongker <dougz@android.com> |
add a local filename column to download queries Some users of the download API (eg system update) need to get the actual local filename of a downloaded file, not just a content URI. Change-Id: I877e2776e778c1712f654ba5c840bfe6ed3fe60f
/frameworks/base/core/java/android/app/DownloadManager.java
|
64c48b8842ec9f62a48fdd74b669728c5f2408a4 |
|
08-Oct-2010 |
Steve Howard <showard@google.com> |
Update DownloadManager API to support bulk actions. This includes querying by ID, removing and restarting downloads (the latter is not a public API). The methods all use varargs to support this without undue syntactic pain. Change-Id: I768005c539d2395cf26587d3a8c425cd01ad9cd2
/frameworks/base/core/java/android/app/DownloadManager.java
|
6486196c303c525b041b380e853e1d2135180239 |
|
01-Oct-2010 |
Steve Howard <showard@google.com> |
am e468a4bc: am 751b4731: Merge "A few additions to the download manager public API documentation" into gingerbread Merge commit 'e468a4bc74f1b241b3de09ea99251a419e40c6d3' * commit 'e468a4bc74f1b241b3de09ea99251a419e40c6d3': A few additions to the download manager public API documentation
|
e10330fa285812dd5f63edae491a5e124f4cf284 |
|
01-Oct-2010 |
Steve Howard <showard@google.com> |
am efb8b427: am 4ba2817c: Merge "Avoid NPE when viewing failed legacy download with no local path" into gingerbread Merge commit 'efb8b42789a291e38a7e837f64d18bcb511f65f9' * commit 'efb8b42789a291e38a7e837f64d18bcb511f65f9': Avoid NPE when viewing failed legacy download with no local path
|
610c4359e48a93f029376f5fa48d393ca8a50847 |
|
01-Oct-2010 |
Steve Howard <showard@google.com> |
A few additions to the download manager public API documentation Change-Id: Icf831843e281d8eee9c1457273662121bb5a8609
/frameworks/base/core/java/android/app/DownloadManager.java
|
825bdff3b8d8837af936eac3066b3f402c0c070b |
|
30-Sep-2010 |
Steve Howard <showard@google.com> |
resolved conflicts for merge of 538c3fa3 to master Change-Id: I9190ca078ffd8b51515e3d53ac5753c05110c014
|
99047d7b6519f0a29b88a5f347a0e4179012f9d2 |
|
30-Sep-2010 |
Steve Howard <showard@google.com> |
Avoid NPE when viewing failed legacy download with no local path Change-Id: I3e9d349959543f42afed67de9f6d299c268ab7ac
/frameworks/base/core/java/android/app/DownloadManager.java
|
3e8c1d3a467bab889de7f92379be1f43d9c2d81e |
|
30-Sep-2010 |
Steve Howard <showard@google.com> |
Have download manager give more details when downloads are paused This change introduces more detailed reporting of why downloads are paused in the download manager. First, it adds new, more detailed status constants in android.provider.Downloads for when a download is paused, in place of the old catch-all STATUS_RUNNING_PAUSED. I've eliminated some dead code there as well to ease the change. Second, in the public API, it changes COLUMN_ERROR_CODE to COLUMN_REASON, which now reports useful info for STATUS_PAUSED in addition to STATUS_FAILED. It adds some new PAUSED_* constants for reason values when a download is paused, and adds code to generate these values appropriately. Change-Id: Ie617d1c2c59357375e19466086923ace5e2fb122
/frameworks/base/core/java/android/app/DownloadManager.java
|
d58429f9acdb33f05bdb233b7bba495de80cb336 |
|
28-Sep-2010 |
Steve Howard <showard@google.com> |
Manual merge: Move DownloadManager to android.app Changing package at hackbod's request. Change-Id: I867017b6a9f4684d30c6c5bd1b07f9cabecddb9f
/frameworks/base/core/java/android/app/DownloadManager.java
|
31fd85f39b554e09b2e6c1c2ccf5c186859880fa |
|
28-Sep-2010 |
Steve Howard <showard@google.com> |
Move DownloadManager to android.app (DO NOT MERGE) Changing package at hackbod's request. I'll merge this manually, as there's some additional master-only code that will be to be simultaneously changed. Change-Id: Ibb629ec1c31807fbee31e0193c6a941d04be0117
/frameworks/base/core/java/android/app/DownloadManager.java
|