summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* | | | | | | | | | | | | Merge "DO NOT MERGE: Check that file exists in disk in queryChildDocs" into ↵Steve McKay2016-08-230-0/+0
|\ \ \ \ \ \ \ \ \ \ \ \ \ | | |/ / / / / / / / / / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | nyc-mr1-dev am: 4093cb5adb Change-Id: I6eca1a66132c601aa86fd0707e823cf6bec4c1e1
| * | | | | | | | | | | | Merge "DO NOT MERGE: Check that file exists in disk in queryChildDocs" into ↵Steve McKay2016-08-231-2/+12
| |\ \ \ \ \ \ \ \ \ \ \ \ | | |_|/ / / / / / / / / / | |/| | | | | | | | | | | | | | | | | | | | | | | | nyc-mr1-dev
* | | | | | | | | | | | | DO NOT MERGE: Check that file exists in disk in queryChildDocsJorge Gil2016-08-231-2/+12
|\ \ \ \ \ \ \ \ \ \ \ \ \ | | |/ / / / / / / / / / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | am: 314026d4e8 Change-Id: I3456cd39d299e97e9d2ef7ce200596bd829c3cdc
| * | | | | | | | | | | | DO NOT MERGE: Check that file exists in disk in queryChildDocsJorge Gil2016-08-081-2/+12
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Check that files returned from querying DownloadManager in queryChildDocuments and queryChildDocumentsForManage still exist in External Storage. Bug: 28430547 Change-Id: I4efe9f9ba79d41b3c3099fb96d18460880b742b5 (cherry picked from commit c45f4998c0b4f7ab44d3d2a180ca977ca2fa5ca8)
* | | | | | | | | | | | | Enforce calling identity before clearing. am: 8be3a92eb0 am: ec19fe6485 am: ↵Jeff Sharkey2016-08-091-0/+13
|\ \ \ \ \ \ \ \ \ \ \ \ \ | | |/ / / / / / / / / / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | b3ce7976f2 am: 860239d87e am: 616f47abce am: a9ea617232 am: 567e549614 am: 14ae5650e4 am: 80ab64c562 am: f4607cbdb8 Change-Id: I9a5f79fd6f872277f35d740e0fd487120392e0ff
| * | | | | | | | | | | | Enforce calling identity before clearing. am: 8be3a92eb0 am: ec19fe6485 am: ↵Jeff Sharkey2016-08-091-0/+13
| |\ \ \ \ \ \ \ \ \ \ \ \ | | |/ / / / / / / / / / / | |/| | / / / / / / / / / | | | |/ / / / / / / / / | | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | b3ce7976f2 am: 860239d87e am: 616f47abce am: a9ea617232 am: 567e549614 am: 14ae5650e4 am: 80ab64c562 Change-Id: I8ef0c4042a97682885897dc23c7a676d4d746ca6
| | * | | | | | | | | | Enforce calling identity before clearing. am: 8be3a92eb0 am: ec19fe6485 am: ↵Jeff Sharkey2016-08-091-0/+13
| | |\ \ \ \ \ \ \ \ \ \ | | | | |/ / / / / / / / | | | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | b3ce7976f2 am: 860239d87e am: 616f47abce am: a9ea617232 am: 567e549614 am: 14ae5650e4 Change-Id: I3688aa1ad8e48901b321823f03636bbd55d76780
| | | * | | | | | | | | Enforce calling identity before clearing. am: 8be3a92eb0 am: ec19fe6485 am: ↵Jeff Sharkey2016-08-091-0/+13
| | | |\ \ \ \ \ \ \ \ \ | | | | | |/ / / / / / / | | | | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | b3ce7976f2 am: 860239d87e am: 616f47abce am: a9ea617232 am: 567e549614 Change-Id: I47ae3c7cfa1e3f6239d95697cf641c8d498a4e60
| | | | * | | | | | | | Enforce calling identity before clearing. am: 8be3a92eb0 am: ec19fe6485 am: ↵Jeff Sharkey2016-08-091-0/+13
| | | | |\ \ \ \ \ \ \ \ | | | | | | |/ / / / / / | | | | | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | b3ce7976f2 am: 860239d87e am: 616f47abce am: a9ea617232 Change-Id: I2fac746922c84d1cb111a59bc1e4b895e2990571
| | | | | * | | | | | | Enforce calling identity before clearing. am: 8be3a92eb0 am: ec19fe6485 am: ↵Jeff Sharkey2016-08-091-0/+13
| | | | | |\ \ \ \ \ \ \ | | | | | | | |/ / / / / | | | | | | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | b3ce7976f2 am: 860239d87e am: 616f47abce Change-Id: I1c4ba01176abae0b984e8481e1574524f2edf09e
| | | | | | * | | | | | Enforce calling identity before clearing. am: 8be3a92eb0 am: ec19fe6485 am: ↵Jeff Sharkey2016-08-091-0/+13
| | | | | | |\ \ \ \ \ \ | | | | | | | | |/ / / / | | | | | | | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | b3ce7976f2 am: 860239d87e Change-Id: Ic62206ad61c81da00eb57679211c140ce7053032
| | | | | | | * | | | | Enforce calling identity before clearing. am: 8be3a92eb0 am: ec19fe6485Jeff Sharkey2016-08-091-0/+13
| | | | | | | |\ \ \ \ \ | | | | | | | | | |/ / / | | | | | | | | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | am: b3ce7976f2 Change-Id: I539882f08289cabaaf49326fb7973d98d0323de2
| | | | | | | | * | | | Enforce calling identity before clearing. am: 8be3a92eb0Jeff Sharkey2016-08-091-0/+13
| | | | | | | | |\ \ \ \ | | | | | | | | | | |/ / | | | | | | | | | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | am: ec19fe6485 Change-Id: Ib82ee386c9b72a35172a4a205a72aba5d3c3134e
| | | | | | | | | * | | Enforce calling identity before clearing.Jeff Sharkey2016-08-091-0/+13
| | | | | | | | | |\ \ \ | | | | | | | | | | | |/ | | | | | | | | | | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | am: 8be3a92eb0 Change-Id: I0b339abd106680e44a7e900e3eae514cf0f630c1
| | | | | | | | | | * | Enforce calling identity before clearing.Jeff Sharkey2016-08-011-0/+13
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | When opening a downloaded file, enforce that the caller can actually see the requested download before clearing their identity to read internal columns. Bug: 30537115 Change-Id: I01bbad7997e5e908bfb19f5d576860a24f59f295
* | | | | | | | | | | | Waiting for Wi-Fi notification is not ongoing.Jeff Sharkey2016-07-281-1/+3
|\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | am: 7b7fa39dec Change-Id: Ib5b8161ca3812b1200d96353bc7a3077e5cea01e
| * | | | | | | | | | | 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