| Commit message (Collapse) | Author | Age | Files | Lines |
|\
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
staging/lineage-17.1_merge-android-10.0.0_r37
Android 10.0.0 Release 37 (QQ3A.200605.001)
* tag 'android-10.0.0_r37':
Import translations. DO NOT MERGE
Import translations. DO NOT MERGE
Change-Id: Ifee74dceaf6aef8d7ee5fb79b38c7110f586fc67
|
| |\
| | |
| | |
| | |
| | |
| | | |
qt-qpr3-release
Change-Id: I603910114526b0a0b20442e684739e4b2c436a08
|
| | |
| | |
| | |
| | |
| | | |
Auto-generated-cl: translation import
Change-Id: Iecd299fd77df191362e1d16ae8dd0a38f02852cb
|
| |\|
| | |
| | |
| | |
| | |
| | | |
qt-qpr3-release
Change-Id: Ie854b521906156792af1a3c694d7c86c1f1f7cbc
|
| |/
| |
| |
| |
| | |
Change-Id: Ie3e527e921c8f104bc3e259433f7a90cc21ea82b
Auto-generated-cl: translation import
|
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Without it:
Invalid columns in request: notificationclassotheruid
With it:
Invalid columns in request: notificationclass,otheruid
Change-Id: I09cc18286f342b0c9db34d6de7820d2fba66c557
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
JobInfo.setEstimatedBytes(long) was deprecated and tagged with @removed
before Pie shipped but DownloadProvider continued to use the deprecated
method. Switching DownloadProvider over to the public method so the
deprecated method can be removed.
Bug: 130692844
Bug: 135214188
Test: atest com.android.server.job.controllers.ConnectivityControllerTest
Test: atest com.android.providers.downloads.DownloadProviderFunctionalTest
Change-Id: I5506079ee06e75f7394814fc967df21a4a86341d
(cherry picked from commit a8d67ad37081951fde57ed494730f86e595ba709)
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
When a media item is inserted, media_type will be
automatically updated but some of the other media
attributes will only be updated after a media scan.
Bug: 138419471
Test: manual
Test: atest DownloadProviderTests
Test: atest cts/tests/app/src/android/app/cts/DownloadManagerTest.java
Test: atest cts/tests/app/DownloadManagerLegacyTest/src/android/app/cts/DownloadManagerLegacyTest.java
Test: atest cts/tests/app/DownloadManagerApi28Test/src/android/app/cts/DownloadManagerApi28Test.java
Change-Id: If8192b31fb7da37425480e7afa53dd1304533b76
(cherry picked from commit 90de12ad0c76fa9e231b3864c4afb8f312b53dda)
|
| |
| |
| |
| | |
Change-Id: I7fe92ae86cdcb6ecc0ee1d7be665afb88dc3ed68
|
| |
| |
| |
| | |
Change-Id: I366ae9c62baf6eb97b5c06e3d0b69bc84f41fac3
|
|\ \
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Android 10.0.0 release 31
* tag 'android-10.0.0_r31':
Import translations. DO NOT MERGE
Import translations. DO NOT MERGE
Change-Id: I08ce1fde2d2e23082adc668ae975134487aad70f
|
| |\|
| | |
| | |
| | |
| | |
| | | |
qt-qpr2-release
Change-Id: Ifbb6af1135bd1426c5008dbdbaf3fcfc623b2736
|
| | |
| | |
| | |
| | |
| | | |
Change-Id: I3eaddf4f8659c424a09240caf035551838fa22e9
Auto-generated-cl: translation import
|
| |\|
| | |
| | |
| | |
| | |
| | | |
qt-qpr2-release
Change-Id: I094f00d90068d90a73ea15de61311cd95b4b78ae
|
| |/
| |
| |
| |
| | |
Change-Id: Icbc1cea972b6606078c043346bc29352fea63642
Auto-generated-cl: translation import
|
| |
| |
| |
| | |
Change-Id: Id9556e047824162dd77b49735186a1f162e02ef9
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
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
|
|\|
| |
| |
| |
| |
| | |
qt-qpr1-release
Change-Id: Ifdfec766c9025d46b68b0e01b835ed53ef52cf52
|
| |
| |
| |
| |
| | |
Change-Id: I8d0b7ebd57432da1082d53229d7ead23d39618df
Auto-generated-cl: translation import
|
|\|
| |
| |
| |
| |
| | |
qt-qpr1-release
Change-Id: Ib312967c8cb4e3f8605f666db6a384e420ac9ebd
|
| |\
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
SQLiteQueryBuilder options." into pi-dev am: abb84003e8 -s ours am: 74e800be1a
am: 71cb21b6db
Change-Id: Icd99f07df0b57d2fae995e791512a78c9810192f
|
| | |\
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
SQLiteQueryBuilder options." into pi-dev am: abb84003e8 -s ours
am: 74e800be1a
Change-Id: I3cddb4a5ea4af86ce8d61fb283f9ac9c0e3eb62e
|
| | | |\
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
SQLiteQueryBuilder options." into pi-dev
am: abb84003e8 -s ours
am skip reason: subject contains skip directive
Change-Id: Ie9a6c8887dbbeea2f1ddb38df4b4bcd92e795e79
|
| | | | |\
| | | | | |
| | | | | |
| | | | | | |
pi-dev
|
| |\| | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
options. am: d3e5c766a1 -s ours am: 703392e548
am: 9586551095
Change-Id: I146127732b2d7c5bba0c95c604c39a72d66236cb
|
| | |\| | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
options. am: d3e5c766a1 -s ours
am: 703392e548
Change-Id: I3ee1977f9a1a0276dbe1e4490ba9c0c2c06cac1f
|
| | | |\ \ \
| | | | | |/
| | | | |/|
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
options.
am: d3e5c766a1 -s ours
am skip reason: subject contains skip directive
Change-Id: I6d1d26c7f58e6ab263d642d75403d51240a0429b
|
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
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: atest DownloadProviderTests
Test: atest CtsAppTestCases:android.app.cts.DownloadManagerTest
Change-Id: I302091ceda3591785b2124575e89dad19bc97469
|
| |\| | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
options. am: a9533dcd62 am: 84343cfa93 am: 060def8608 -s ours am: 232eaee57b -s ours am: 6b98ed38e5
am: bfd2ad60f7
Change-Id: I1e390c5e840c7f923c8f35ffb5fe10ea8cbe9624
|
| | |\| | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
options. am: a9533dcd62 am: 84343cfa93 am: 060def8608 -s ours am: 232eaee57b -s ours
am: 6b98ed38e5
Change-Id: I9ac6578f786bb62f5d3249f0e1e6118a65b2f668
|
| | | |\ \ \
| | | | | |/
| | | | |/|
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
options. am: a9533dcd62 am: 84343cfa93 am: 060def8608 -s ours
am: 232eaee57b -s ours
am skip reason: subject contains skip directive
Change-Id: I188dce6a804e8ba92b0b06d201dc57416b8283eb
|
| | | | |\ \
| | | | | |/
| | | | |/|
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
options. am: a9533dcd62 am: 84343cfa93
am: 060def8608 -s ours
am skip reason: subject contains skip directive
Change-Id: I55d1b6622a530e642720abdfced4d81933802083
|
| | | | | |\
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | | |
am: 84343cfa93
Change-Id: I2d61eace0dd6ddd1aed8564bf8087741b3367655
|
| | | | | | |\
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | | |
am: a9533dcd62
Change-Id: If0c1c25c5a3fa6e091b48ae47df7766ab85734f7
|
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | | |
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
|
| |\| | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | | |
am: 93c92f6502
Change-Id: Ide7ac00ef8d0411beb58168d295b31e697349a46
|
| | |\| | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | | |
am: ffec00b013
Change-Id: I2e27d1e54090eb38c113cd855f715017fe116c96
|
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | | |
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, 135269143
Test: atest DownloadProviderTests
Test: atest CtsAppTestCases:android.app.cts.DownloadManagerTest
Change-Id: I8e595e1470df586a3d593b7851305da413e44347
|
|\| | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | | |
qt-qpr1-release
Change-Id: Iffc2da39c23b4c0e01745739dcff3d2b9f790390
|
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | | |
Auto-generated-cl: translation import
Bug: 64712476
Change-Id: If4d6ab45c3d78ba95fa3e75642acfe64c81c0dd5
|
|\| | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | | |
qt-qpr1-release
Change-Id: I6dd511f8f1ae6cbed7d58eec9f18f3173c78083b
|
| |\| | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | | |
am: d1c80691c8 -s ours
am skip reason: subject contains skip directive
Change-Id: I79acd40f5aa64928606ee670f7fec8acd266a081
|
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | | |
Auto-generated-cl: translation import
Bug: 64712476
Change-Id: I12a0df0f505ee15fd25ed552c52365ffd2996707
|
|\| | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | | |
qt-qpr1-release
Change-Id: I481fa45ab7cc083a8e118e90754af5d0b24a80b2
|
| |\| | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | | |
am: b02bbf988e
Change-Id: I8d37b11fb060996eb1d85528c4341d3c0eaed169
|
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | | |
Update file size in MediaStore to 0 before triggering mediascan
which should force MediaScanner to scan this file.
Also, add a clean-up job to trigger mediscan on already existing
downloads which should have been mediascanned but haven't and got
stuck in this state.
Bug: 138419471
Test: manual
Test: atest DownloadProviderTests
Test: atest cts/tests/app/src/android/app/cts/DownloadManagerTest.java
Test: atest DownloadManagerLegacy
Test: atest DownloadManagerApi28
Change-Id: I813086ceba6c70ca42309fcce5f9db209eac1575
(cherry picked from commit c2b0739b08e423e3c9fcde42b095cd72315ecf1f)
|
|\| | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | | |
qt-qpr1-release
Change-Id: I6a717ec2b7bad082350e9eeb07e042e9e48ce76f
|
| |\| | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | | |
14a5b9171a
am: 9541cdbd3b
Change-Id: Ic9211bedb452bb60706ce76734bbdcdc4c7b639f
|
| | |\| | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | | |
am: 14a5b9171a
Change-Id: I11529f1ff938fb8c726aa7da2f9b1c4e4990182f
|