summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* DownloadProvider: Add support for manual pause/resumestaging/lineage-15.1Zhao Wei Liew2018-01-128-9/+171
| | | | | | | | | | Implement the following features: - Manually pause/resume individual downloads in DownloadManager - Manually pause/resume all downloads in notification Based on commit ecd609e7017b8a69688bbae25c17d878ea305f19. Change-Id: I433cdee2de8b3add0248bbb0a9d02f8da4e5bb38
* DownloadProvider: Display download speed in notificationLasse Brudeskar Vikås2018-01-122-6/+65
| | | | | | | Add the current total download speed to in-progress downloads shown in the notification pane. Change-Id: I801dbe61c7ee59d0c1d14d5851ad6dc3a7678499
* Snap for 4399693 from 1f3a9b5e9c9703c2f620fa029a3904bf13bf43cc to oc-mr1-releaseandroid-build-team Robot2017-10-171-1/+1
|\ | | | | | | Change-Id: I1722437bfe988862fdf226b4e5f3c7bdba985280
| * Import translations. DO NOT MERGEBill Yi2017-10-170-0/+0
| |\ | | | | | | | | | | | | | | | am: a3566ef617 -s ours Change-Id: I0db790510bfa797a9a8a80e9acb18c5ca8d8d19a
| | * Import translations. DO NOT MERGEBill Yi2017-10-1622-85/+85
| | | | | | | | | | | | | | | | | | | | | | | | Auto-generated-cl: translation import Exempt-From-Owner-Approval: translation import Bug: 64712476 Change-Id: If76a2296044c23faa10424e7fb93c6b6a9111edb
| * | Import translations. DO NOT MERGEBill Yi2017-10-161-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | Auto-generated-cl: translation import Exempt-From-Owner-Approval: translation import Bug: 64712476 Change-Id: Ifa4b3ca8b88431f1f07535e37201ddfb1ecd1221
* | | release-request-1f2fcfef-9736-44dc-8628-3ba96dac60db-for-git_oc-mr1-release- ↵android-build-team Robot2017-09-1712-44/+44
|\| | | | | | | | | | | | | | | | | 4343541 snap-temp-L73700000103533431 Change-Id: I884d1767c8bbbd80f60dc9d2cd5a14f883036d7e
| * | Import translations. DO NOT MERGEBill Yi2017-09-1612-44/+44
| | | | | | | | | | | | | | | | | | | | | | | | Auto-generated-cl: translation import Exempt-From-Owner-Approval: translation import Bug: 64712476 Change-Id: I230aa0b6979a4688720b79084e105c4fa8fe2e6b
* | | release-request-8cd2a23c-f767-488e-8139-390d1636483f-for-git_oc-mr1-release- ↵android-build-team Robot2017-09-081-0/+3
|\| | | | | | | | | | | | | | | | | 4323561 snap-temp-L80400000100600189 Change-Id: I5b05af50129c1b394ffc61fa496961c4f9e958a1
| * | Close idle connections to release RAMFyodor Kupolov2017-09-051-0/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | Close idle connections after 30s of inactivity to release RAM. Savings: ~.2MB on marlin, ~0.1MB on low-ram devices Bug: 63398887 Test: reboot and dumpsys meminfo android.process.media Change-Id: If2505df7e654ab93cf64e6aeb7721c6f0a0134a5
| * | Remove PDF Thumbnail support from DownloadStorageProviderJulian Mancini2017-08-311-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | Exempt-From-Owner-Approval: Bug 63673347 Bug: 64225798 Test: Removing Functionality Change-Id: I052c2652d605101dc9df1a0b79162adb967d6250 (cherry picked from commit c87c31a602b5a27bd540fbedd8654cbeb24d06e9)
* | | Merge cherrypicks of [2830125, 2833486, 2833487, 2833488, 2831683, 2831684, ↵android-build-team Robot2017-09-011-1/+1
|\ \ \ | | | | | | | | | | | | | | | | | | | | 2832961] into oc-mr1-release Change-Id: Icce1b13dfc3e96ff683970629a70745b89f919e2
| * | | Remove PDF Thumbnail support from DownloadStorageProviderJulian Mancini2017-09-011-1/+1
|/ / / | | | | | | | | | | | | | | | | | | | | | | | | Exempt-From-Owner-Approval: Bug 63673347 Bug: 64225798 Test: Removing Functionality Change-Id: I052c2652d605101dc9df1a0b79162adb967d6250 (cherry picked from commit c87c31a602b5a27bd540fbedd8654cbeb24d06e9) (cherry picked from commit d7ff0d1d0017b36265b890648dd5f1d98f13409c)
* | | release-request-fd631211-effa-4885-9314-559fcbd0a094-for-git_oc-mr1-release- ↵android-build-team Robot2017-08-3115-45/+159
|\| | | | | | | | | | | | | | | | | 4308825 snap-temp-L52700000098265170 Change-Id: Ibda330a68ecb08a18b08124e6e3f56048af1ee09
| * | Import translations. DO NOT MERGEBill Yi2017-08-3015-45/+159
| | | | | | | | | | | | | | | | | | | | | | | | Auto-generated-cl: translation import Exempt-From-Owner-Approval: translation import Bug: 64712476 Change-Id: I90ee206f0d8e2df89ed2028d814cb152d2fb7ee6
* | | release-request-ddf09bbc-6509-421f-8fa6-f8ae07cdafea-for-git_oc-mr1-release- ↵android-build-team Robot2017-08-073-3/+117
|\| | | | | | | | | | | | | | | | | 4250733 snap-temp-L31300000089845305 Change-Id: I48ed6fdc2d247c4a172f63702d3fdd68a12f9d91
| * | Import translations. DO NOT MERGEBill Yi2017-08-063-3/+117
| | | | | | | | | | | | | | | | | | Change-Id: I397ec39ec69d9e745f2dbf421fd3e4068ec02f0f Auto-generated-cl: translation import Exempt-From-Owner-Approval: translation import
| * | Import translations. DO NOT MERGEBill Yi2017-08-050-0/+0
| |\| | | | | | | | | | | | | | | | am: 843f2d42de -s ours Change-Id: Ia73b8e730d44362a66f6daafb4d7a794de7d7384
| | * Import translations. DO NOT MERGEBill Yi2017-08-043-7/+7
| | | | | | | | | | | | | | | | | | Change-Id: Ib39783db9c30aefb5663a92dbd9bcc725e2aabc6 Auto-generated-cl: translation import Exempt-From-Owner-Approval: translation import
* | | release-request-ca4ad653-1655-436a-b65c-2527b02ae5f2-for-git_oc-mr1-release- ↵android-build-team Robot2017-08-031-0/+4
|\| | | | | | | | | | | | | | | | | 4241196 snap-temp-L48200000088705722 Change-Id: I898a07b712e1ae97d57519c52f8781422c0b2ce6
| * | Download UI interactions should be in foreground.Jeff Sharkey2017-08-021-0/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Otherwise these interactions risk getting stuck in a delayed background broadcast queue, and we'd re-post notifications based on stale data that hasn't been updated yet. Test: builds, boots Bug: 64098529 Change-Id: I93302e5a4380bb0ac8977153c3afaa02bcc36c84
* | | release-request-94878621-f29d-487c-a2aa-213f2be9d20c-for-git_oc-mr1-release- ↵android-build-team Robot2017-07-271-2/+2
|\| | | | | | | | | | | | | | | | | 4222039 snap-temp-L91400000086509174 Change-Id: I25a5724d120165d71b89e92713c79c60d74668d8
| * | Import translations. DO NOT MERGE am: 3a1bec7197 -s ours am: d08c19e2f5 -s ↵Bill Yi2017-07-270-0/+0
| |\| | | | | | | | | | | | | | | | | | | | | | ours am: 95c316986c -s ours Change-Id: I454012fff824b57f6bbea9c3fd36e7119ef43752
| | * Import translations. DO NOT MERGE am: 3a1bec7197 -s oursBill Yi2017-07-270-0/+0
| | |\ | | | | | | | | | | | | | | | | | | | | am: d08c19e2f5 -s ours Change-Id: Id5633cd37bac5c25d12941fe19c47c95b3ea6792
| | | * Import translations. DO NOT MERGEBill Yi2017-07-260-0/+0
| | | |\ | | | | | | | | | | | | | | | | | | | | | | | | | am: 3a1bec7197 -s ours Change-Id: I260e2031a4ede52996e8086b6c8ad5f05b44c9d1
| | | | * Import translations. DO NOT MERGEBill Yi2017-07-261-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Change-Id: Icaeaf9f8e2c9264e3958e2ccdaab37c37da7b66c Auto-generated-cl: translation import Exempt-From-Owner-Approval: translation import
| * | | | Merge "Import translations. DO NOT MERGE" into oc-mr1-devTreeHugger Robot2017-07-261-2/+2
| |\ \ \ \
| | * | | | Import translations. DO NOT MERGEBill Yi2017-07-261-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Change-Id: I80fbc314bca841fc27780ba1bb1f722f9e937b69 Auto-generated-cl: translation import Exempt-From-Owner-Approval: translation import
| * | | | | Merge "Import translations. DO NOT MERGE" into oc-dr1-devBill Yi2017-07-260-0/+0
| |\ \ \ \ \ | | | |/ / / | | |/| | | | | | | | | | | | | | | | | | | | | am: daeb5334d3 -s ours Change-Id: Iac6a695ffd39c3a90ba34369b11eea76771fcaf1
| | * | | | Merge "Import translations. DO NOT MERGE" into oc-dr1-devTreeHugger Robot2017-07-261-2/+2
| | |\ \ \ \
| | | * | | | Import translations. DO NOT MERGEBill Yi2017-07-261-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Change-Id: Idb41f1ac991289c371543418459ff49e4157453d Auto-generated-cl: translation import Exempt-From-Owner-Approval: translation import
| * | | | | | Import translations. DO NOT MERGE am: d2a12ffb29 -s oursBill Yi2017-07-260-0/+0
| |\| | | | | | | |_|/ / / | |/| | | | | | | | | | | | | | | | | | | | | | am: 9084ae33d0 -s ours Change-Id: Ib2572f13e44d902267299533b0de528d14ffc295
| | * | | | Import translations. DO NOT MERGEBill Yi2017-07-260-0/+0
| | |\ \ \ \ | | | |/ / / | | |/| / / | | | |/ / | | | | | | | | | | am: d2a12ffb29 -s ours Change-Id: I8326b898ae59843f0b2ca331e38f078532034e13
| | | * | Import translations. DO NOT MERGEBill Yi2017-07-251-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Change-Id: Ie3cfea19727ba3b50d313df08c6491affdfdf2d8 Auto-generated-cl: translation import Exempt-From-Owner-Approval: translation import
* | | | | release-request-d8901a87-7dd0-4cc8-a44e-d04982e429da-for-git_oc-mr1-release- ↵android-build-team Robot2017-07-202-11/+3
|\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | 4198291 snap-temp-L50900000084068812 Change-Id: I978ce99f735b8a6c95cc7b7dfc5d9133044d2c69
| * | | | Merge "Import translations. DO NOT MERGE"TreeHugger Robot2017-07-191-2/+2
| |\ \ \ \
| | * | | | Import translations. DO NOT MERGEBill Yi2017-07-191-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Change-Id: I8b605936562af7aafc2b65e5b9d4c2b6414fccab Auto-generated-cl: translation import Exempt-From-Owner-Approval: translation import
| * | | | | Merge "Allow pdf thumbnail in downloads root by removing an override"Jeff Sharkey2017-07-191-8/+0
| |\ \ \ \ \
| | * | | | | Allow pdf thumbnail in downloads root by removing an overrideJulian Mancini2017-07-191-8/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Bug: 63586859 Test: N/A Exempt-From-Owner-Approval: Bug 63673347 Change-Id: I9ea2c051485b2b6dd87dac4dac73dba6dbf59fd6
| * | | | | | Merge "Allow DownloadStorageProvider to display PDF Thumbnails"TreeHugger Robot2017-07-191-1/+1
| |\ \ \ \ \ \ | | |_|/ / / / | |/| | | | |
| | * | | | | Allow DownloadStorageProvider to display PDF ThumbnailsJulian Mancini2017-07-191-1/+1
| | |/ / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Due to changes to FileStorageProvider (linked in Topic), DownloadStorageProvider also needed a small update so that any PDF documents have FLAG_SUPPORTS_THUMBNAIL enabled. Bug: 63586859 Test: None Exempt-From-Owner-Approval: Bug 63673347 Change-Id: Ic88640df73944b739def3ad82d3c37457e22abd7
* | | | | | release-request-bd6aa7dd-7b02-4794-942c-14599bf61208-for-git_oc-mr1-release- ↵android-build-team Robot2017-07-192-2/+1
|\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 4193791 snap-temp-L98700000083613807 Change-Id: I791cca98dbdfbee3a9d9a0f8a21c8b8fde51087c
| * | | | | Merge "Unify permissions under UPDATE_DEVICE_STATS."Jeff Sharkey2017-07-181-1/+0
| |\ \ \ \ \
| | * | | | | Unify permissions under UPDATE_DEVICE_STATS.Jeff Sharkey2017-07-171-1/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The UPDATE_DEVICE_STATS permission has become the de-facto mechanism that platform components use to shift blame for resource usage, so it's confusing to also have a separate MODIFY_NETWORK_ACCOUNTING permission. So this change replaces MODIFY_NETWORK_ACCOUNTING with UPDATE_DEVICE_STATS. Bug: 62483389 Test: builds, boots Exempt-From-Owner-Approval: Bug 63673347 Change-Id: Ie24b8eeeb8f9e43b93316f9fbb87e38a9971b07d
| * | | | | | Downgrade "Downloading" notification channel to MIN am: b0a086c29fGeoffrey Pitsch2017-07-181-1/+1
| |\ \ \ \ \ \ | | |/ / / / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | am: 726919cd92 Change-Id: Id054a1577d019f257da1a3f1575b47143e15382f
| | * | | | | Downgrade "Downloading" notification channel to MINGeoffrey Pitsch2017-07-181-1/+1
| | |\ \ \ \ \ | | | | |/ / / | | | |/| | | | | | | | | | | | | | | | | | | | | | | | am: b0a086c29f Change-Id: I2ece1deb889ef0d1663e3508741abd4f2ebbd82d
| | | * | | | Downgrade "Downloading" notification channel to MINGeoffrey Pitsch2017-07-171-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Won't impact devices that have already created the channel. Bug: 63755460 Test: N/A Change-Id: I3930ccf67bc5594493e1d10e48fc43fded104ebf
* | | | | | | release-request-05263112-375a-4b1f-a657-a14bb2a5c5a3-for-git_oc-mr1-release- ↵android-build-team Robot2017-07-1612-507/+51
|\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 4185249 snap-temp-L63000000082739046 Change-Id: I4f34c85a88bbca8e943f99763cf26beacc5bf847
| * | | | | | Allocate space using new StorageManager API.Jeff Sharkey2017-07-159-503/+32
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Instead of reaching directly into PackageManager, use the new StorageManager API to allocate disk space for downloads. This wraps both clearing cached files and fallocate() into a single method. Remove support for storing downloads on the /cache partition, which doesn't exist on many devices. Bug: 63057877 Test: bit DownloadProviderTests:* Exempt-From-Owner-Approval: Bug 63673347 Change-Id: I5749f7a2f7ded9157fea763dc652bf4da88d86ff
| * | | | | | Follow removal of NetworkInfo metered flag.Jeff Sharkey2017-07-144-4/+19
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The OS now completely relies on NET_CAPABILITY_NOT_METERED to avoid confusion and staleness. Bug: 63391323 Test: builds, boots, Wi-Fi policy is upgraded Exempt-From-Owner-Approval: Bug 63673347 Change-Id: Iea83e0afd8cbd2be10d85b8a35c903047716b5b9