| Commit message (Collapse) | Author | Age | Files | Lines |
|\
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
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
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
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)
|
| |
| |
| |
| |
| |
| | |
Bug: 111085900
Change-Id: I2f224f04d1ae39a64a9c0784fe0c9cab284d88e8
(cherry picked from commit 1c7dce84d8c09b8991289a922f5d8c29f078f20d)
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
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)
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
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)
|
| |
| |
| |
| | |
Change-Id: I10838ee962e601e50c90c676626816acbada7ff5
|
| |
| |
| |
| | |
Change-Id: Iaa83b062dfe7d89bdff066ce513ae12b9477abbf
|
| |
| |
| |
| | |
Change-Id: Idf7b9dfa4360b3ffc747f852e8e4ed053f7effaa
|
| |
| |
| |
| | |
Change-Id: Iaa3f8d8b7a0832f45e9d8a7451d5cd5eb3ae5674
|
| |
| |
| |
| | |
Change-Id: Ice36c03b2761bd99ae17e2c5df2631b0ca302f36
|
| |
| |
| |
| | |
Change-Id: I147e61f2fe66c9118f54a9e2a9febee07d945207
|
| |
| |
| |
| | |
Change-Id: Ie91aa2991a63aa245c10c58200b6117520c1e38d
|
| |
| |
| |
| | |
Change-Id: I978e44d4cba0622a577e042b4d918eb763d2f410
|
| |
| |
| |
| | |
Change-Id: Ifc5c4798ad337521c67c64b796dd8625b24e5908
|
| |
| |
| |
| | |
Change-Id: Ib632ad285f0a59bf249bcaca8eaa369363136f93
|
|\ \
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Android 8.1.0 release 47
* tag 'android-8.1.0_r47':
Merge commit '6d489a5f' into aug10d-oc-dev
Change-Id: I2e6eb456cb5572499946301b37d0423f315d0bfc
|
| |\ \
| | | |
| | | |
| | | |
| | | |
| | | | |
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
|
| |/ /
| | |
| | |
| | |
| | |
| | | |
Bug: 111085900
Change-Id: I2f224f04d1ae39a64a9c0784fe0c9cab284d88e8
(cherry picked from commit 1c7dce84d8c09b8991289a922f5d8c29f078f20d)
|
|\| |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
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
|
| |\ \
| | | |
| | | |
| | | |
| | | |
| | | | |
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
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
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)
|
| |/ /
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
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)
|
| | |
| | |
| | |
| | | |
Change-Id: I16ba80d0b8b0dbaddb03581a2ffa41cda5f4744c
|
| | |
| | |
| | |
| | | |
Change-Id: I7d679ad6e94ab42f5ead867692fe0e13b37e3b4f
|
|\ \ \
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
Android 8.1.0 release 43
* tag 'android-8.1.0_r43':
DO NOT MERGE: Update DownloadProvider for correct meteredness
Change-Id: Ia8bebaa361f2fd5a2a44eb4a6b9ff45b4593e6e5
|
| |\ \ \
| | |/ /
| |/| |
| | | |
| | | |
| | | | |
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
|
| |/ /
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
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)
|
| |\|
| | |
| | |
| | | |
Change-Id: I79581c57b0afb56f34737c658aacc147e4ef1687
|
| |\ \
| | | |
| | | |
| | | |
| | | |
| | | | |
352002 snap-temp-L88700000105039240
Change-Id: I20c13e2cd44d3894b0287484cb91c8a7dfec440e
|
| |\ \ \
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
328410 snap-temp-L55300000101694322
Change-Id: Iaa1e30048d8dd79cffef8543e399d0e69d08bbda
|
| | | | |
| | | | |
| | | | |
| | | | | |
Change-Id: Ie6e7e647e663e986213d2d7b886a799d3bfb8647
|
| | | | |
| | | | |
| | | | |
| | | | | |
Change-Id: I85468cd4a29a38b718131e56188cf4ad17393009
|
| | | | |
| | | | |
| | | | |
| | | | | |
Change-Id: Ie9a26293e1498845c8f658a1cb2f6fa03d9e10bd
|
| | | | |
| | | | |
| | | | |
| | | | | |
Change-Id: Ie02deb0ee1110171e25043e32122d1deb8909e15
|
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
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
|
| |_|_|/
|/| | |
| | | |
| | | |
| | | |
| | | |
| | | | |
Add the current total download speed to in-progress downloads
shown in the notification pane.
Change-Id: I801dbe61c7ee59d0c1d14d5851ad6dc3a7678499
|
|\ \ \ \
| |_|_|/
|/| | |
| | | | |
Change-Id: I1722437bfe988862fdf226b4e5f3c7bdba985280
|
| |\ \ \
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
am: a3566ef617 -s ours
Change-Id: I0db790510bfa797a9a8a80e9acb18c5ca8d8d19a
|
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
Auto-generated-cl: translation import
Exempt-From-Owner-Approval: translation import
Bug: 64712476
Change-Id: If76a2296044c23faa10424e7fb93c6b6a9111edb
|
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
Auto-generated-cl: translation import
Exempt-From-Owner-Approval: translation import
Bug: 64712476
Change-Id: Ifa4b3ca8b88431f1f07535e37201ddfb1ecd1221
|
|\| | | |
| |_|_|/
|/| | |
| | | |
| | | |
| | | | |
4343541 snap-temp-L73700000103533431
Change-Id: I884d1767c8bbbd80f60dc9d2cd5a14f883036d7e
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
Auto-generated-cl: translation import
Exempt-From-Owner-Approval: translation import
Bug: 64712476
Change-Id: I230aa0b6979a4688720b79084e105c4fa8fe2e6b
|
|\| | |
| |_|/
|/| |
| | |
| | |
| | | |
4323561 snap-temp-L80400000100600189
Change-Id: I5b05af50129c1b394ffc61fa496961c4f9e958a1
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
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
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Exempt-From-Owner-Approval: Bug 63673347
Bug: 64225798
Test: Removing Functionality
Change-Id: I052c2652d605101dc9df1a0b79162adb967d6250
(cherry picked from commit c87c31a602b5a27bd540fbedd8654cbeb24d06e9)
|
|\ \ \
| | | |
| | | |
| | | |
| | | |
| | | | |
2832961] into oc-mr1-release
Change-Id: Icce1b13dfc3e96ff683970629a70745b89f919e2
|
|/ / /
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Exempt-From-Owner-Approval: Bug 63673347
Bug: 64225798
Test: Removing Functionality
Change-Id: I052c2652d605101dc9df1a0b79162adb967d6250
(cherry picked from commit c87c31a602b5a27bd540fbedd8654cbeb24d06e9)
(cherry picked from commit d7ff0d1d0017b36265b890648dd5f1d98f13409c)
|
|\| |
| | |
| | |
| | |
| | |
| | | |
4308825 snap-temp-L52700000098265170
Change-Id: Ibda330a68ecb08a18b08124e6e3f56048af1ee09
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Auto-generated-cl: translation import
Exempt-From-Owner-Approval: translation import
Bug: 64712476
Change-Id: I90ee206f0d8e2df89ed2028d814cb152d2fb7ee6
|
|\| |
| | |
| | |
| | |
| | |
| | | |
4250733 snap-temp-L31300000089845305
Change-Id: I48ed6fdc2d247c4a172f63702d3fdd68a12f9d91
|