summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Merge tag 'android-8.1.0_r70' into staging/lineage-15.1_merge-android-9.0.0_r70lineage-15.1Kevin F. Haggerty2019-11-142-345/+107
|\ | | | | | | | | | | | | | | | | | | | | | | Android 8.1.0 release 70 * tag 'android-8.1.0_r70': RESTRICT AUTOMERGE Enable stricter SQLiteQueryBuilder options. Merge commit '6d489a5f' into aug10d-oc-dev Remove "public" download feature. DO NOT MERGE: Update DownloadProvider for correct meteredness Change-Id: I71689859bcb2bfc3f5cfb0c6178362dc4d1bdb48
| * RESTRICT AUTOMERGEJeff Sharkey2019-09-182-345/+107
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Enable stricter SQLiteQueryBuilder options. Malicious callers can leak side-channel information by using subqueries in any untrusted inputs where SQLite allows "expr" values. This change starts using setStrictColumns() and setStrictGrammar() on SQLiteQueryBuilder to block this class of attacks. This means we now need to define the projection mapping of valid columns, which consists of both the columns defined in the public API and columns read internally by DownloadInfo.Reader. We're okay growing sAppReadableColumnsSet like this, since we're relying on our trusted WHERE clause to filter away any rows that don't belong to the calling UID. Remove the legacy Lexer code, since we're now internally relying on the robust and well-tested SQLiteTokenizer logic. Bug: 135270103 Bug: 135269143 Test: cts-tradefed run cts -m CtsAppTestCases -t android.app.cts.DownloadManagerTest Change-Id: I302091ceda3591785b2124575e89dad19bc97469 (cherry picked from commit a9533dcd628fc8f83e9cf948fc4ca09c2d139e2b)
| * Merge commit '6d489a5f' into aug10d-oc-devJeff Sharkey2018-08-151-105/+92
| | | | | | | | | | | | Bug: 111085900 Change-Id: I2f224f04d1ae39a64a9c0784fe0c9cab284d88e8 (cherry picked from commit 1c7dce84d8c09b8991289a922f5d8c29f078f20d)
| * Remove "public" download feature.Jeff Sharkey2018-07-191-12/+2
| | | | | | | | | | | | | | | | | | | | It was never a supported API, and has been reported as causing security issues, so remove it. Bug: 111084083 Test: builds Change-Id: I26345b192ffd55216bb8c8fdb82cb5869d68d3db (cherry picked from commit 35e123117be9ec5d61dbaea60f6eac06c0e80dc4)
| * DO NOT MERGE: Update DownloadProvider for correct meterednessBenedict Wong2018-06-124-1/+14
| | | | | | | | | | | | | | | | | | | | | | | | This patch updates DownloadProvider to use the fixed meteredness hidden APIs for OC-MR1. This corrects a bug where DownloadProvider would fail to allow downloads to proceed when VPNs are connected, but the underlying networks are metered. Bug: 78644887 Test: Flashed on Walleye and tested. Change-Id: I13c1bd6d7ab26489923329bc7985060228e9bb29 (cherry picked from commit b627002ea9dc2511bad6ea5e68f4248f36c4a3eb)
* | Automatic translation importMichael Bestas2019-08-061-0/+37
| | | | | | | | Change-Id: I10838ee962e601e50c90c676626816acbada7ff5
* | Automatic translation importMichael Bestas2019-05-269-6/+95
| | | | | | | | Change-Id: Iaa83b062dfe7d89bdff066ce513ae12b9477abbf
* | Automatic translation importMichael W2019-03-111-1/+0
| | | | | | | | Change-Id: Idf7b9dfa4360b3ffc747f852e8e4ed053f7effaa
* | Automatic translation importMichael W2019-03-102-0/+6
| | | | | | | | Change-Id: Iaa3f8d8b7a0832f45e9d8a7451d5cd5eb3ae5674
* | Automatic translation importMichael W2019-03-01254-7039/+48
| | | | | | | | Change-Id: Ice36c03b2761bd99ae17e2c5df2631b0ca302f36
* | Automatic translation importMichael W2019-01-053-0/+40
| | | | | | | | Change-Id: I147e61f2fe66c9118f54a9e2a9febee07d945207
* | Automatic translation importMichael Bestas2018-11-262-4/+8
| | | | | | | | Change-Id: Ie91aa2991a63aa245c10c58200b6117520c1e38d
* | Automatic translation importMichael Bestas2018-11-15105-2/+2991
| | | | | | | | Change-Id: I978e44d4cba0622a577e042b4d918eb763d2f410
* | Automatic translation importMichael Bestas2018-11-05150-2906/+2902
| | | | | | | | Change-Id: Ifc5c4798ad337521c67c64b796dd8625b24e5908
* | Automatic translation importMichael Bestas2018-10-13104-487/+65
| | | | | | | | Change-Id: Ib632ad285f0a59bf249bcaca8eaa369363136f93
* | Merge tag 'android-8.1.0_r47' into staging/lineage-15.1_merge-android-8.1.0_r47Kevin F. Haggerty2018-10-011-105/+92
|\ \ | | | | | | | | | | | | | | | | | | | | | | | | Android 8.1.0 release 47 * tag 'android-8.1.0_r47': Merge commit '6d489a5f' into aug10d-oc-dev Change-Id: I2e6eb456cb5572499946301b37d0423f315d0bfc
| * \ Merge cherrypicks of [4787603, 4787134, 4787604, 4786834, 4787135, 4787488, ↵android-build-team Robot2018-08-161-105/+92
| |\ \ | | | | | | | | | | | | | | | | | | | | 4786835, 4787489, 4787490, 4787548, 4787549, 4787550, 4787551, 4787552, 4787553, 4787502, 4786836, 4785839, 4787620, 4787621, 4787622, 4787623, 4787624, 4787625, 4787626, 4787627, 4787628] into oc-m7-release Change-Id: I8ee8c0c6ad2daea61edbf484181ffa8dff869a89
| | * | Merge commit '6d489a5f' into aug10d-oc-devJeff Sharkey2018-08-161-105/+92
| |/ / | | | | | | | | | | | | | | | Bug: 111085900 Change-Id: I2f224f04d1ae39a64a9c0784fe0c9cab284d88e8 (cherry picked from commit 1c7dce84d8c09b8991289a922f5d8c29f078f20d)
* | | Merge tag 'android-8.1.0_r46' into staging/lineage-15.1_merge-android-8.1.0_r46Kevin F. Haggerty2018-09-041-12/+2
|\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | Android 8.1.0 Release 46 (OPM6.171019.030.K1) * tag 'android-8.1.0_r46': Remove "public" download feature. DO NOT MERGE: Update DownloadProvider for correct meteredness Change-Id: I92670aee03eca110df90a5f24477243d4cc38637
| * | Merge cherrypicks of [4741663, 4741664, 4741665, 4741666, 4743080, 4743081, ↵android-build-team Robot2018-08-105-13/+16
| |\ \ | | | | | | | | | | | | | | | | | | | | 4743082, 4743083, 4741262, 4741263, 4741264, 4741265, 4741266, 4741667, 4743084, 4741242, 4741243, 4741741, 4741742, 4741743, 4741744, 4741822, 4743085, 4741668, 4741338, 4743055, 4743056, 4743070, 4743073, 4743075, 4743076, 4743078, 4743079, 4743161, 4743162, 4743164, 4743165, 4743167, 4743168, 4743169, 4743170, 4741681, 4741682, 4741683, 4741684, 4741685, 4741686, 4741687, 4741688, 4741689, 4741690, 4741691, 4741692, 4741693, 4741694, 4741695, 4741696, 4741697, 4741698, 4741699, 4743240, 4743241, 4743242, 4743243, 4741745, 4741823, 4741824, 4741825, 4741267, 4741268, 4743244, 4743280, 4743281, 4743224, 4743203, 4743204, 4743205, 4741746, 4741747, 4743245, 4741826, 4741827, 4741828, 4741829, 4741748, 4741749, 4741750, 4743233, 4743282, 4741244, 4741245, 4741246, 4741247, 4743206, 4743207, 4743208, 4743209, 4743210, 4743211, 4743212, 4743213, 4743214, 4743215, 4743216, 4743217, 4743218, 4743219, 4743360, 4743361, 4743362, 4743363, 4743364, 4743365, 4743366, 4743367, 4743368, 4743369, 4743370, 4743371, 4743372, 4743373, 4743374, 4743375, 4743376, 4743377, 4743283, 4743284, 4741830, 4742501, 4743246, 4743086, 4743087, 4743378, 4743379, 4741751] into sparse-4749909-L04200000199131547 Change-Id: If7e18904479001f2e2b7e674e9b7ccc469c8af0a
| | * | Remove "public" download feature.Jeff Sharkey2018-08-101-12/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | It was never a supported API, and has been reported as causing security issues, so remove it. Bug: 111084083 Test: builds Change-Id: I26345b192ffd55216bb8c8fdb82cb5869d68d3db (cherry picked from commit 35e123117be9ec5d61dbaea60f6eac06c0e80dc4)
| | * | DO NOT MERGE: Update DownloadProvider for correct meterednessBenedict Wong2018-08-104-1/+14
| |/ / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This patch updates DownloadProvider to use the fixed meteredness hidden APIs for OC-MR1. This corrects a bug where DownloadProvider would fail to allow downloads to proceed when VPNs are connected, but the underlying networks are metered. Bug: 78644887 Test: Flashed on Walleye and tested. Change-Id: I13c1bd6d7ab26489923329bc7985060228e9bb29 (cherry picked from commit b627002ea9dc2511bad6ea5e68f4248f36c4a3eb)
* | | Fix plural translatability for download speedMichael Bestas2018-08-303-14/+38
| | | | | | | | | | | | Change-Id: I16ba80d0b8b0dbaddb03581a2ffa41cda5f4744c
* | | Automatic translation importMichael Bestas2018-08-162-4/+2
| | | | | | | | | | | | Change-Id: I7d679ad6e94ab42f5ead867692fe0e13b37e3b4f
* | | Merge tag 'android-8.1.0_r43' into staging/lineage-15.1_merge-android-8.1.0_r43Kevin F. Haggerty2018-08-084-1/+14
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Android 8.1.0 release 43 * tag 'android-8.1.0_r43': DO NOT MERGE: Update DownloadProvider for correct meteredness Change-Id: Ia8bebaa361f2fd5a2a44eb4a6b9ff45b4593e6e5
| * \ \ Merge cherrypicks of [4586293, 4586294, 4586295, 4584365, 4584366, 4584367, ↵android-build-team Robot2018-07-204-1/+14
| |\ \ \ | | |/ / | |/| | | | | | | | | | | | | | 4584368, 4584369, 4584370, 4587544, 4584705, 4586296, 4587545, 4587546, 4586297, 4586298, 4586299, 4586300, 4584371, 4586301, 4584706, 4586302, 4586303, 4587584, 4587585, 4587586, 4587587, 4587588, 4587589, 4587590, 4587591, 4587644, 4587645, 4587646, 4587647, 4587648, 4587649, 4587650, 4587651, 4587652, 4587653, 4587654, 4587655, 4587656, 4587657, 4587658, 4587659, 4587660, 4587661, 4587662, 4584536, 4587547, 4587548, 4587549, 4584707, 4584708, 4587550, 4587551, 4587593, 4586516, 4584372, 4584373, 4584374, 4587595, 4584375, 4584376, 4587552, 4587596, 4587597, 4587598, 4587599, 4584414, 4584415, 4584416, 4584417, 4584418, 4584419, 4584420, 4584421, 4584422, 4584423, 4587804, 4587805, 4587806, 4587807, 4587808, 4587809, 4587810, 4587811, 4587812, 4587813, 4587814, 4587815, 4587816, 4587817, 4587818, 4587884, 4587885, 4587600, 4587601, 4587819, 4584709] into sparse-4749909-L91900000192339903 Change-Id: I9f08f8bf030ce2088ab84dd74b893b65996a8c0a
| | * | DO NOT MERGE: Update DownloadProvider for correct meterednessBenedict Wong2018-07-204-1/+14
| |/ / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This patch updates DownloadProvider to use the fixed meteredness hidden APIs for OC-MR1. This corrects a bug where DownloadProvider would fail to allow downloads to proceed when VPNs are connected, but the underlying networks are metered. Bug: 78644887 Test: Flashed on Walleye and tested. Change-Id: I13c1bd6d7ab26489923329bc7985060228e9bb29 (cherry picked from commit b627002ea9dc2511bad6ea5e68f4248f36c4a3eb)
| * | Snap for 4402310 from 8e5c070a36fd3eb62153e68d4df6d93422c608ab to oc-m2-releaseandroid-build-team Robot2017-10-181-1/+1
| |\| | | | | | | | | | Change-Id: I79581c57b0afb56f34737c658aacc147e4ef1687
| * | release-request-a84b3435-75fa-41e8-bd3c-ca0f4cbd5cc5-for-git_oc-m2-release-4 ↵android-build-team Robot2017-09-2112-44/+44
| |\ \ | | | | | | | | | | | | | | | | | | | | 352002 snap-temp-L88700000105039240 Change-Id: I20c13e2cd44d3894b0287484cb91c8a7dfec440e
| * \ \ release-request-dabd8cf7-7af2-48e9-a296-ccc6a71cc25d-for-git_oc-m2-release-4 ↵android-build-team Robot2017-09-121-0/+3
| |\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | 328410 snap-temp-L55300000101694322 Change-Id: Iaa1e30048d8dd79cffef8543e399d0e69d08bbda
* | | | | Automatic translation importMichael Bestas2018-08-052-8/+8
| | | | | | | | | | | | | | | | | | | | Change-Id: Ie6e7e647e663e986213d2d7b886a799d3bfb8647
* | | | | Automatic translation importMichael Bestas2018-05-081-0/+9
| | | | | | | | | | | | | | | | | | | | Change-Id: I85468cd4a29a38b718131e56188cf4ad17393009
* | | | | Automatic translation importMichael Bestas2018-03-092-0/+26
| | | | | | | | | | | | | | | | | | | | Change-Id: Ie9a26293e1498845c8f658a1cb2f6fa03d9e10bd
* | | | | Automatic translation importMichael Bestas2018-02-22150-0/+8455
| | | | | | | | | | | | | | | | | | | | Change-Id: Ie02deb0ee1110171e25043e32122d1deb8909e15
* | | | | 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