summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Waiting for Wi-Fi notification is not ongoing.Jeff Sharkey2016-07-281-1/+3
| | | | | | | Only active downloads should be classified as ongoing notifications. Bug: 30065873 Change-Id: I778eafb0737c7da17216fb3012847e6a3beccde9
* Import translations. DO NOT MERGEBill Yi2016-07-208-13/+16
| | | | | Change-Id: Ie2553f849eaaea53c2baa2af48ca75166e6e9aa2 Auto-generated-cl: translation import
* Clear identity when deleting scanned entry.Jeff Sharkey2016-06-281-2/+7
|\ | | | | | | | | | | am: 01dee86505 Change-Id: I102eaec3fbc0997bf62aff260efabf412082a118
| * Clear identity when deleting scanned entry.Jeff Sharkey2016-06-281-2/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | | When deleting a file from DownloadManager, we also reach over and clean up any scanned MediaStore entries. However, DownloadManager clients may not hold the WRITE_EXTERNAL_STORAGE permission, such as when they downloaded a file into their package-specific directories. The safest fix for now is to clear the calling identity and always clean up the MediaStore entries ourselves, since DownloadProvider always holds the required storage permission. Bug: 29777504 Change-Id: Iea8f5696410010807b118bb56e5b897c53f0e1fe
* | Make scanning decisions based on latest data.Jeff Sharkey2016-06-272-4/+5
|\| | | | | | | | | | | am: 3a4a3e7cd5 Change-Id: I68e0713d8013df816eba46e99470d2a9b009e71d
| * Make scanning decisions based on latest data.Jeff Sharkey2016-06-252-4/+5
| | | | | | | | | | | | | | | | | | When deciding to kick off a media scan of a newly-downloaded file, use the latest values from InfoDelta, instead of stale values from the last database read, which may lead us to skip the scan. Bug: 29234780 Change-Id: I7ffbcdd1edb9965999b7f5f100f57a9c2933f3a5
* | Re-schedule downloads queued for unmetered.Jeff Sharkey2016-06-222-8/+16
|\| | | | | | | | | | | am: b5ca499c74 Change-Id: If70296f5a8a463430513d5fb0bbb34811e632025
| * Re-schedule downloads queued for unmetered.Jeff Sharkey2016-06-222-8/+16
| | | | | | | | | | | | | | | | | | | | When a download is stopped due to a metered network, we should reschedule the job just like any other network failure. If a download requires an unmetered network, treat WAITING_FOR_NETWORK as QUEUED_FOR_WIFI so we show a meaningful notification. Bug: 29440531 Change-Id: I31e6535c575fd32e2982ef840ae501acf1db3927
* | Update notifications when no jobs are scheduled.Jeff Sharkey2016-06-221-4/+11
|\| | | | | | | | | | | am: 07c50f1e60 Change-Id: I8a9193df9643922020d25139447da3951643b8ba
| * Update notifications when no jobs are scheduled.Jeff Sharkey2016-06-221-4/+11
| | | | | | | | | | | | | | | | | | | | When inserting an already-completed download, we don't schedule a job, leaving notifications stale until the next real download comes along. This change kicks off a notification update pass in these cases to ensure we reflect the internal state. Bug: 29548026 Change-Id: I6ff87d69d83c265738d5e035197204bbb63cfa81
* | Use calling app\'s Network Security Config for HTTPS downloadsChad Brubaker2016-06-214-0/+66
|\| | | | | | | | | | | am: 473ee1358d Change-Id: I4555060fa60460bc41613596dbec6fd9d8678fc5
| * Use calling app's Network Security Config for HTTPS downloadsChad Brubaker2016-06-204-0/+66
| | | | | | | | | | Bug:29505888 Change-Id: Ifc33fd75e44d1dbc5a4ce5caa8e1ff938b94623e
* | Import translations. DO NOT MERGEBaligh Uddin2016-06-080-0/+0
|\| | | | | | | | | | | am: 41cb108131 -s ours Change-Id: Ie5ffa4476a066f507bcb365b0c51b9f95453756e
| * Import translations. DO NOT MERGEBaligh Uddin2016-06-071-2/+2
| | | | | | | | | | | | | | Auto-generated-cl: translation import Bug: 29169863 Change-Id: I09904dcd600f9abb31e57857c603af53ac3d710e
* | Import translations. DO NOT MERGEBill Yi2016-06-050-0/+0
|\| | | | | | | | | | | | | | | | | am: 5de5029ef9 -s ours * commit '5de5029ef904e9cb579a8552a6d3dcfbf2ff239d': Import translations. DO NOT MERGE Change-Id: I24bd2a5f7fdb5999b0f49d73ca4c27735daf8f58
| * Import translations. DO NOT MERGEBill Yi2016-06-039-17/+17
| | | | | | | | | | Change-Id: I0af9c77f30ac97457c5fa029ffa9138b1e8a3c6d Auto-generated-cl: translation import
* | Import translations. DO NOT MERGEBill Yi2016-06-0317-51/+51
| | | | | | | | | | Change-Id: I979d621b448069f2a7d6d732fd692ceae4f2b33b Auto-generated-cl: translation import
* | Only show queued notification when "visible."Jeff Sharkey2016-05-261-1/+8
|\| | | | | | | | | | | | | | | | | am: 2a34a9359d * commit '2a34a9359dc199e98a45275a22027b5c367933a6': Only show queued notification when "visible." Change-Id: Id08020ee5514fe8e69276a03ea977b09811d905d
| * Only show queued notification when "visible."Jeff Sharkey2016-05-261-1/+8
| | | | | | | | | | | | | | | | Otherwise it's confusing to see notifications for downloads that are otherwise invisible. Bug: 28623639 Change-Id: I1b2aeccfcca1369f66c56c441dfef68ee95c6d62
* | Import translations. DO NOT MERGEBill Yi2016-05-230-0/+0
|\| | | | | | | | | | | | | | | | | am: 5f97d54345 -s ours * commit '5f97d54345d948a11bcefe1765864738f6dc30d4': Import translations. DO NOT MERGE Change-Id: Iefb2cbcf8c97c33a9d8cf69adf9b4dd009589a98
| * Import translations. DO NOT MERGEBill Yi2016-05-231-1/+1
| | | | | | | | | | Change-Id: I20691844173d81874c3220b1813f4b8726f3e58d Auto-generated-cl: translation import
* | Import translations. DO NOT MERGEBill Yi2016-05-237-20/+20
| | | | | | | | | | Change-Id: I9d9382aab69828b91978d8a1adcf80b341d29a4e Auto-generated-cl: translation import
* | Import translations. DO NOT MERGEBaligh Uddin2016-05-220-0/+0
|\| | | | | | | | | | | | | | | | | am: 3d9b513f94 -s ours * commit '3d9b513f949160bd8235a02bd689a18f7cdab7e2': Import translations. DO NOT MERGE Change-Id: Id6f711bcb4809dd378ba4ec985ec35104a33ba10
| * Import translations. DO NOT MERGEBaligh Uddin2016-05-2117-54/+54
| | | | | | | | | | | | | | Auto-generated-cl: translation import Bug: 28857042 Change-Id: I57cd87a88242f29ec5038bf53cc74f4b0e6279ba
* | Merge "Import translations. DO NOT MERGE" into nyc-devBaligh Uddin2016-05-180-0/+0
|\| | | | | | | | | | | | | | | | | am: ed5bbdb5c9 -s ours * commit 'ed5bbdb5c9823e78a7b3672a835928c8141e272f': Import translations. DO NOT MERGE Change-Id: Ib7328e0009dd2617e8adc494f93896fe4c3943ee
| * Merge "Import translations. DO NOT MERGE" into nyc-devBaligh Uddin2016-05-185-7/+7
| |\
| | * Import translations. DO NOT MERGEBaligh Uddin2016-05-165-7/+7
| | | | | | | | | | | | | | | Change-Id: I7f86c0526a2ec3ce85affb5f6cca26c56eb34647 Auto-generated-cl: translation import
* | | Merge "Import translations. DO NOT MERGE" into nyc-mr1-devBaligh Uddin2016-05-184-6/+6
|\ \ \
| * | | Import translations. DO NOT MERGEBaligh Uddin2016-05-164-6/+6
| | | | | | | | | | | | | | | | | | | | Change-Id: I8b23f7082da080f504f758551850f16d523db7d5 Auto-generated-cl: translation import
* | | | Implemented onRestrictBackgroundBlacklistChanged().Felipe Leme2016-05-171-0/+8
|\ \ \ \ | |/ / / |/| / / | |/ / | | | | | | | | | | | | | | | am: 96f33ae24b * commit '96f33ae24b6235424dc66bf9b445b44579737f74': Implemented onRestrictBackgroundBlacklistChanged(). Change-Id: Iac2fb656908b4c8534b1eb05e05afc7f24c2bc01
| * / Implemented onRestrictBackgroundBlacklistChanged().Felipe Leme2016-05-161-0/+8
| |/ | | | | | | | | | | BUG: 28743623 Change-Id: I314febe06e5516dfa69062da691e0189b051dac5
* | Merge "Removed onRestrictPowerChanged()." into nyc-devFelipe Leme2016-05-131-6/+0
|\| | | | | | | | | | | | | | | | | am: 2a864fe4e4 * commit '2a864fe4e463536f2ab813d6ea8234319a53ff0f': Removed onRestrictPowerChanged(). Change-Id: I832f9abad8a2c9f0baadf32d6b0868bc573ebf29
| * Merge "Removed onRestrictPowerChanged()." into nyc-devTreeHugger Robot2016-05-131-6/+0
| |\
| | * Removed onRestrictPowerChanged().Felipe Leme2016-05-101-6/+0
| | | | | | | | | | | | | | | | | | BUG: 28521946 Change-Id: I32129977c121b610bdd1a780fd371baaff3ead4b
* | | Merge "Allow viewing content:// Uris from Downloads." into nyc-devTomasz Mikolajewski2016-05-111-4/+1
|\| | | | | | | | | | | | | | | | | | | | | | | | | | am: 6084a43203 * commit '6084a432033c02530aa074547d45cfda447cc56e': Allow viewing content:// Uris from Downloads. Change-Id: Ifdfb80b7873f0d008ccc3e4252eb4f7d5f4b3d08
| * | Merge "Allow viewing content:// Uris from Downloads." into nyc-devTomasz Mikolajewski2016-05-111-4/+1
| |\ \
| | * | Allow viewing content:// Uris from Downloads.Tomasz Mikolajewski2016-05-091-4/+1
| | |/ | | | | | | | | | | | | Bug: 28476442 Change-Id: I12a35a2c35c16ddf899637dfb85c30006c169fd7
* | | Scan completed downloads when requested.Jeff Sharkey2016-05-092-4/+17
|\| | | | | | | | | | | | | | | | | | | | | | | | | | am: 053674aa4d * commit '053674aa4d0ecd7e37dadb8ee37a9cafbdf2f16c': Scan completed downloads when requested. Change-Id: I76a3b072328727fde0d9365929e3c705ea731937
| * | Scan completed downloads when requested.Jeff Sharkey2016-05-092-4/+17
| |/ | | | | | | | | | | | | | | | | | | The recent JobScheduler rewrite means we no longer spin up a service when insterting an already-completed download. However, the calling app may have requested the download to be scanned, so kick off a scan request for them. Bug: 28659693 Change-Id: I497e10995ba04f1522fe8d7e547ebea6e305f6e9
* | Merge "Implemented onRestrictPowerChanged()." into nyc-devFelipe Leme2016-05-061-0/+6
|\| | | | | | | | | | | | | | | | | am: 8286e24870 * commit '8286e24870e89f1100a219200990bd12877b2a1b': Implemented onRestrictPowerChanged(). Change-Id: I3c6b6780e914b739a88cf1f697c619216df0996d
| * Merge "Implemented onRestrictPowerChanged()." into nyc-devTreeHugger Robot2016-05-061-0/+6
| |\
| | * Implemented onRestrictPowerChanged().Felipe Leme2016-05-031-0/+6
| | | | | | | | | | | | | | | BUG: 28521946 Change-Id: I31658e680e67da9e1a420a9749a67949cfe09689
* | | Import translations. DO NOT MERGEBaligh Uddin2016-05-040-0/+0
|\| | | | | | | | | | | | | | | | | | | | | | | | | | am: 83b4fa57ff -s ours * commit '83b4fa57ff2b5b8945bbe703ecc9b874a7abae4b': Import translations. DO NOT MERGE Change-Id: I382fb5d3e955eace80bee9f4a967c96be4300898
| * | Import translations. DO NOT MERGEBaligh Uddin2016-05-031-1/+1
| | | | | | | | | | | | | | | | | | | | | Auto-generated-cl: translation import Bug: 28463229 Change-Id: If9046aa28360250cc5d2a5e646a10d2a7b666d43
* | | Merge "Import translations. DO NOT MERGE" into nyc-devBaligh Uddin2016-05-030-0/+0
|\| | | | | | | | | | | | | | | | | | | | | | | | | | am: 1195c5bb71 -s ours * commit '1195c5bb71be9de089ab9186f0257f7495c8fe9e': Import translations. DO NOT MERGE Change-Id: I4a8cb7e6ab820969e4c286cf2c4c6c69fcaa08ce
| * | Merge "Import translations. DO NOT MERGE" into nyc-devBaligh Uddin2016-05-0345-90/+45
| |\ \ | | |/ | |/|
| | * Import translations. DO NOT MERGEBaligh Uddin2016-05-0245-90/+45
| | | | | | | | | | | | | | | Change-Id: I301fec6e93b48872a5031117de97e64de88df93d Auto-generated-cl: translation import
* | | Merge "Import translations. DO NOT MERGE" into nyc-mr1-devBaligh Uddin2016-05-0345-90/+45
|\ \ \
| * | | Import translations. DO NOT MERGEBaligh Uddin2016-05-0245-90/+45
| | | | | | | | | | | | | | | | | | | | Change-Id: I0351a657e2d7c546031396e38b5d93cbcc9a91c2 Auto-generated-cl: translation import
* | | | Merge "Add ability to rename a downloaded file." into nyc-devBen Lin2016-05-021-1/+20
|\ \ \ \ | |/ / / |/| / / | |/ / | | | | | | | | | | | | | | | am: 693eb2fb2f * commit '693eb2fb2f6b66999645b237ae5ef16c7329aaf6': Add ability to rename a downloaded file. Change-Id: I18da9088b3c685136f124f2d80283cba6be4b20c