summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Automatic translation importHEADreplicant-6.0-0004-transitionreplicant-6.0-0004-rc6replicant-6.0-0004-rc5-transitionreplicant-6.0-0004-rc5replicant-6.0-0004-rc4replicant-6.0-0004-rc3replicant-6.0-0004-rc2replicant-6.0-0004cm-13.0Michael Bestas2019-08-10210-5435/+1384
| | | | Change-Id: I347a9f463c5d2b3393398df53dad92a23e93c050
* Remove "public" download feature.Jeff Sharkey2018-10-081-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)
* Automatic translation importreplicant-6.0-0004-rc1Abhisek Devkota2017-12-1312-0/+735
| | | | Change-Id: Ie2e2e4dd0d7b291b5c05668deb4d80015ec1ec33
* Automatic translation importreplicant-6.0-0003Abhisek Devkota2017-09-192-18/+3
| | | | Change-Id: Id1ab75e1fb7166f26f4f6f82579b6ad6da0485d8
* DO NOT MERGE Deleting downloads for removed uids on downloadprovider startreplicant-6.0-0002Suprabh Shukla2017-07-061-10/+45
| | | | | | | | | | | | | | | | | | | | | | | After uninstalling an app, if the system was shutdown before the download provider received the broadcast for UID_REMOVED, another app installed later in the same uid might be able to gain access to the files downloaded by this app. Removing any such hanging downloads at the start up of the download provider should fix this issue. Test: Manually tested by uninstalling an app and killing and restarting the process android.process.media, to check that the downloaded files of the uninstalled app were deleted. Bug:22011579 Merged in: I7382c4846f99035b40412a01715aee5873efa9e6 AOSP-Change-Id: I7382c4846f99035b40412a01715aee5873efa9e6 (cherry picked from commit 2ab9a2d15c63cd567805adb8fa4b9c524afc5ceb) (cherry picked from commit 3b15466b3cb6207660a73d1cea44a2d018ada23f) CVE-2017-0668 Change-Id: I8c5fee862185b958a539c7489443480c5c65ace6
* Automatic translation importreplicant-6.0-0001Abhisek Devkota2017-04-289-58/+66
| | | | Change-Id: I427e9831c519531742e4194df964a6cfe9c67b44
* Automatic translation importAbhisek Devkota2017-02-194-0/+245
| | | | Change-Id: Ieaa33a54744e7900ffc7378a1f1c6823c8718f80
* Automatic translation importAbhisek Devkota2017-02-061-0/+9
| | | | Change-Id: Idd4c0c61cfd9135dc31a5017aaf5708ed82eb901
* Automatic translation importAbhisek Devkota2017-01-261-1/+1
| | | | Change-Id: I555ea84dbb6995d54ae903aaa2bf3f735c17beec
* Automatic translation importblinky@build012016-12-181-0/+2
| | | | | Change-Id: I48cb1bc62fd8b6fe24dfa3ed09db6249610a7432 Ticket: -
* Automatic translation importclyde@build012016-12-161-0/+1
| | | | | Change-Id: I8f9250accd241f8af733a2f1b834323afff726f9 Ticket: -
* Automatic translation importinky@build012016-11-292-13/+0
| | | | | Change-Id: I48732999fe876a3dd3cf6c94a6295dcf639f04dc Ticket: -
* Merge tag 'android-6.0.1_r74' into HEADJessica Wagantall2016-11-091-0/+31
|\ | | | | | | | | | | | | | | CYNGNOS-3303 Android 6.0.1 release 74 Change-Id: Ie2ad785b1e3682814c8779cf52662bd8a4e03fcb
| * Enforce calling identity before clearing.Jeff Sharkey2016-09-271-0/+44
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | When opening a downloaded file, enforce that the caller can actually see the requested download before clearing their identity to read internal columns. However, this means that we can no longer return the "my_downloads" paths: if those Uris were shared beyond the app that requested the download, access would be denied. Instead, we need to switch to using "all_downloads" Uris so that permission grants can be issued to third-party viewer apps. Since an app requesting a download doesn't normally have permission to "all_downloads" paths, we issue narrow grants toward the owner of each download, both at device boot and when new downloads are started. Bug: 30537115, 30945409 Change-Id: If944aada020878a91c363963728d0da9f6fae3ea (cherry picked from commit 7c1af8c62c8bdf6e8de5a00c1927daf9fd9c03d1)
| * Revert "Enforce calling identity before clearing."Adam Seaton2016-08-261-13/+0
| | | | | | | | | | | | | | This reverts commit 8be3a92eb0b4105a9ed748be5a937ce79145f565. Change-Id: I10401d57239b868f8e3514f81a0e20486838e29c (cherry picked from commit b440ceb00fd46c9233723066c680a538067fbf82)
| * Enforce calling identity before clearing.Jeff Sharkey2016-08-251-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 (cherry picked from commit 8be3a92eb0b4105a9ed748be5a937ce79145f565)
* | Merge tag 'android-6.0.1_r72' into HEADJessica Wagantall2016-10-061-0/+13
|\ \ | | | | | | | | | | | | | | | | | | Android 6.0.1 Release 72 (M4B30X) # gpg: Signature made Tue 04 Oct 2016 09:47:45 AM PDT using DSA key ID 9AB10E78 # gpg: Can't check signature: public key not found
| * | Enforce calling identity before clearing.Jeff Sharkey2016-08-261-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 (cherry picked from commit 8be3a92eb0b4105a9ed748be5a937ce79145f565)
* | Automatic translation importpinky@build012016-09-253-0/+10
| | | | | | | | | | Change-Id: I78d8219d14b4a2208de3428f59165b8df01324e9 Ticket: -
* | Automatic translation importpinky@build012016-08-290-0/+0
| | | | | | | | | | Change-Id: Ieedcb0d6aca25d91eab398735dcdc510602080db Ticket: -
* | Automatic translation importpinky@build012016-08-2712-0/+735
| | | | | | | | | | Change-Id: I44640c897580af38f2b66a4ecb6ff908c6b87ac1 Ticket: -
* | Automatic translation importinky@build012016-06-012-0/+9
| | | | | | | | Change-Id: I74e215f78723e423f6dc8803f774365ba9082517
* | Automatic translation importAbhisek Devkota2016-05-171-0/+2
| | | | | | | | Change-Id: If80d09a6ff98361378a8a768349dcc515773b2df
* | Automatic translation importMichael Bestas2016-05-101-0/+3
| | | | | | | | Change-Id: Ia3bf814edbd1e494f2f11255edbf26fa221129a8
* | Partially revert "Import translations. DO NOT MERGE"Michael Bestas2016-05-0277-154/+616
| | | | | | | | | | | | | | | | * Add back some translations that were removed This reverts commit 6ed30705f468b2eb036899acf944bda523399fd2. Change-Id: Id2704f551f7e8dfa7a839d98fd9aa5b8b49e96cd
* | Revert "Merge tag 'android-6.0.1_r22' of ↵Michael Bestas2016-05-0283-664/+201
| | | | | | | | | | | | | | | | | | https://android.googlesource.com/platform/packages/providers/DownloadProvider into cm-13.0" This reverts commit 083ca2be42c8346fc56ec67d4d50d5de33517eaf, reversing changes made to 483b7559e4a79cc7ad0b35d44f89812b378595b9. Change-Id: Ic9ec628fcf4e4aa9a5d92921d6419112caea2940
* | Merge tag 'android-6.0.1_r30' into HEADJessica Wagantall2016-04-180-0/+0
|\| | | | | | | | | Ticket: RM-234 Android 6.0.1 release 30
| * DO NOT MERGE. Use resolved path when inserting and deleting.Jeff Sharkey2016-02-261-5/+15
| | | | | | | | | | | | | | | | This avoids a race condition where someone can change a symlink target after the security checks have passed. Bug: 26211054 Change-Id: Ia58425ab71c1472dd2f2dd31dae000ca29d0bcb2
| * Use resolved path for both checking and opening.Jeff Sharkey2016-02-262-6/+8
| | | | | | | | | | | | | | | | This avoids a race condition where someone can change a symlink target after the security checks have passed. Bug: 26211054 Change-Id: I5842aaecc7b7d417a3b1902957b59b8a1f3c1ccb
* | Automatic translation importMichael Bestas2016-04-168-7/+265
| | | | | | | | Change-Id: I89fe1c89bd9c64fb841f61ddcd72d232d1d0af00
* | Automatic translation importMichael Bestas2016-04-064-0/+245
| | | | | | | | Change-Id: I6a056a7f1e030092116c65b8b653dc2a78506183
* | Merge tag 'android-6.0.1_r24' into HEADJessica Wagantall2016-04-052-11/+23
|\ \ | | | | | | | | | | | | Ticket: CYNGNOS-2213 Android 6.0.1 release 24
| * \ merge in mnc-dr1.5-release history after reset to mnc-dr1.5-devThe Android Automerger2016-03-220-0/+0
| |\ \
| | * \ merge in mnc-dr1.5-release history after reset to mnc-dr1.5-devThe Android Automerger2016-03-170-0/+0
| | |\ \ | | |/ / | |/| |
| * | | DO NOT MERGE. Use resolved path when inserting and deleting.Jeff Sharkey2016-03-011-5/+15
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This avoids a race condition where someone can change a symlink target after the security checks have passed. Bug: 26211054 Change-Id: I03b06b746fde5d08d6b61a7011bdace0b4e9fa77
| * | | Use resolved path for both checking and opening.Jeff Sharkey2016-03-012-6/+8
| |/ / | | | | | | | | | | | | | | | | | | | | | This avoids a race condition where someone can change a symlink target after the security checks have passed. Bug: 26211054 Change-Id: I5842aaecc7b7d417a3b1902957b59b8a1f3c1ccb
* | | Automatic translation importMichael Bestas2016-03-2811-13/+414
| | | | | | | | | | | | Change-Id: Icfddf9d4ac177ba2745e2197ac7a26ff401086fc
* | | Automatic translation importMichael Bestas2016-03-1926-0/+169
| | | | | | | | | | | | Change-Id: Ide31394cee382c695a4e9ed92fb04ddba262d99f
* | | Merge tag 'android-6.0.1_r22' of ↵staging/cm-13.0+r22Steve Kondik2016-03-1083-201/+664
|\| | | | | | | | | | | | | | | | | https://android.googlesource.com/platform/packages/providers/DownloadProvider into cm-13.0 Android 6.0.1 release 22
| * | Revert "Use resolved path for both checking and opening."Jeff Sharkey2016-01-222-8/+6
| | | | | | | | | | | | | | | | | | This reverts commit 366af2ee1f841615d44ab770b537112d769eed05. Change-Id: Id1155425ebcae23be8ce3916f19dda82eee992c4
| * | Revert "Use resolved path for both checking and opening." am: 6947a091f1 am: ↵Jeff Sharkey2016-01-150-0/+0
| |\ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | cd15221e33 am: 9f47480ba2 -s ours am: 9294cf83d9 am: e6235ebca3 am: 5a066c39a6 am: 78b21c54af am: 451e81a331 am: 80409f3081 am: 6b8c97d2e4 am: bd15b5ea8f * commit 'bd15b5ea8fb6bcc1ae56413080c5afcc9fac47fe': Revert "Use resolved path for both checking and opening."
| | * \ Revert "Use resolved path for both checking and opening." am: 6947a091f1 am: ↵Jeff Sharkey2016-01-150-0/+0
| | |\ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | cd15221e33 am: 9f47480ba2 -s ours am: 9294cf83d9 am: e6235ebca3 am: 5a066c39a6 am: 78b21c54af am: 451e81a331 am: 80409f3081 am: 6b8c97d2e4 * commit '6b8c97d2e434f0608f9fabf2cea6c5371860b23d': Revert "Use resolved path for both checking and opening."
| | | * \ Revert "Use resolved path for both checking and opening." am: 6947a091f1 am: ↵Jeff Sharkey2016-01-150-0/+0
| | | |\ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | cd15221e33 am: 9f47480ba2 -s ours am: 9294cf83d9 am: e6235ebca3 am: 5a066c39a6 am: 78b21c54af am: 451e81a331 am: 80409f3081 * commit '80409f3081ae9bae81f6005e12003bde11ed42a0': Revert "Use resolved path for both checking and opening."
| | | | * \ Revert "Use resolved path for both checking and opening." am: 6947a091f1 am: ↵Jeff Sharkey2016-01-150-0/+0
| | | | |\ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | cd15221e33 am: 9f47480ba2 -s ours am: 9294cf83d9 am: e6235ebca3 am: 5a066c39a6 am: 78b21c54af am: 451e81a331 * commit '451e81a33193986f5de177e7a66393e8aba4134f': Revert "Use resolved path for both checking and opening."
| | | | | * \ Revert "Use resolved path for both checking and opening." am: 6947a091f1 am: ↵Jeff Sharkey2016-01-150-0/+0
| | | | | |\ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | cd15221e33 am: 9f47480ba2 -s ours am: 9294cf83d9 am: e6235ebca3 am: 5a066c39a6 am: 78b21c54af * commit '78b21c54af58acd7acc40f1cd010a8cf8ed1d07b': Revert "Use resolved path for both checking and opening."
| | | | | | * \ Revert "Use resolved path for both checking and opening." am: 6947a091f1 am: ↵Jeff Sharkey2016-01-150-0/+0
| | | | | | |\ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | cd15221e33 am: 9f47480ba2 -s ours am: 9294cf83d9 am: e6235ebca3 am: 5a066c39a6 * commit '5a066c39a6149d155ba7b4a6aada49bf6bfe240a': Revert "Use resolved path for both checking and opening."
| | | | | | | * \ Revert "Use resolved path for both checking and opening." am: 6947a091f1 am: ↵Jeff Sharkey2016-01-150-0/+0
| | | | | | | |\ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | cd15221e33 am: 9f47480ba2 -s ours am: 9294cf83d9 am: e6235ebca3 * commit 'e6235ebca3a939ccce6d0e93ce0902332ca7690d': Revert "Use resolved path for both checking and opening."
| | | | | | | | * \ Revert "Use resolved path for both checking and opening." am: 6947a091f1 am: ↵Jeff Sharkey2016-01-150-0/+0
| | | | | | | | |\ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | cd15221e33 am: 9f47480ba2 -s ours am: 9294cf83d9 * commit '9294cf83d93386caae1103ea9c969ff3e6e8f85d': Revert "Use resolved path for both checking and opening."
| | | | | | | | | * \ Revert "Use resolved path for both checking and opening." am: 6947a091f1 am: ↵Jeff Sharkey2016-01-150-0/+0
| | | | | | | | | |\ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | cd15221e33 am: 9f47480ba2 -s ours * commit '9f47480ba25b08c4e16506e9de21f11e79d4d06d': Revert "Use resolved path for both checking and opening."
| | | | | | | | | | * \ Revert "Use resolved path for both checking and opening." am: 6947a091f1Jeff Sharkey2016-01-152-62/+12
| | | | | | | | | | |\ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | am: cd15221e33 * commit 'cd15221e332ec8beca4870099de41dde6f5a3213': Revert "Use resolved path for both checking and opening."