summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Enforce calling identity before clearing.stable/cm-13.0-ZNH2KJeff Sharkey2016-11-101-0/+31
| | | | | | | | | | | | | | | | | | | | | | 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. CYNGNOS-3303 Bug: 30537115, 30945409 Change-Id: If944aada020878a91c363963728d0da9f6fae3ea (cherry picked from commit 7c1af8c62c8bdf6e8de5a00c1927daf9fd9c03d1)
* Automatic translation importinky@build012016-10-032-9/+0
| | | | | Change-Id: I11dfca9aaaad3162a86a8f6d73e62286c5cb42dc Ticket: RM-231
* Automatic translation importblinky@build012016-09-194-4/+10
| | | | | Change-Id: Ife4bfd4d8b591d3c597fb4a8534b8a4e90767498 Ticket: RM-231
* Automatic translation importpinky@build012016-08-230-0/+0
| | | | | Change-Id: I1539043b3574f0c7b3f0e750d1e90230ea5af91f Ticket: RM-231
* Automatic translation importclyde@build012016-08-234-0/+245
| | | | | Change-Id: I24ea8d2a809424bb7c5c5effced05ef648acf697 Ticket: RM-231
* Automatic translation importclyde@build012016-08-184-0/+245
| | | | | Change-Id: I89ec6f1aef21d1494a73edf346ba97b31aa3cdc4 Ticket: RM-231
* Automatic translation importpinky@build012016-08-134-0/+245
| | | | | Change-Id: I0bef390562383d114baa26a827ad32c4368a6498 Ticket: RM-231
* Automatic translation importstable/cm-13.0-ZNH2KBblinky@build012016-06-012-0/+9
| | | | | Change-Id: Iefdacc519520b4ad0268864382dc4844a79681c7 Ticket: RM-214
* Automatic translation importAbhisek Devkota2016-05-171-0/+2
| | | | | Change-Id: I1e8c5767daa3496a061f7d45751ecef3841c085b Ticket: RM-231
* Automatic translation importAbhisek Devkota2016-05-1420-32/+308
| | | | | Change-Id: Ibae2e4abe0056dfc6fc9f8bca33b579060b04479 Ticket: RM-231
* Partially revert "Import translations. DO NOT MERGE"Michael Bestas2016-05-1377-154/+616
| | | | | | | | | | * Add back some translations that were removed This reverts commit 6ed30705f468b2eb036899acf944bda523399fd2. RM-231 Change-Id: Id2704f551f7e8dfa7a839d98fd9aa5b8b49e96cd (cherry picked from commit d94d7f8f4f72ac7e827493f3e1fefca780b53097)
* Revert "Merge tag 'android-6.0.1_r22' of ↵Michael Bestas2016-05-1383-664/+201
| | | | | | | | | | | https://android.googlesource.com/platform/packages/providers/DownloadProvider into cm-13.0" This reverts commit 083ca2be42c8346fc56ec67d4d50d5de33517eaf, reversing changes made to 483b7559e4a79cc7ad0b35d44f89812b378595b9. RM-231 Change-Id: Ic9ec628fcf4e4aa9a5d92921d6419112caea2940 (cherry picked from commit 7b3ecae868371b22e968d39dade62fbc76309349)
* Automatic translation importMichael Bestas2016-04-064-0/+245
| | | | | | RM-231 Change-Id: I6a056a7f1e030092116c65b8b653dc2a78506183 (cherry picked from commit 504b247eeb9851fb219825849fde4f57468d583f)
* 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-180-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-1826-0/+169
| | | | | | | | Change-Id: Ide31394cee382c695a4e9ed92fb04ddba262d99f
* | Merge tag 'android-6.0.1_r22' of ↵staging/cm-13.0+r22Steve Kondik2016-03-1183-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."
| | | | | | | | | | | * Revert "Use resolved path for both checking and opening."Jeff Sharkey2016-01-152-62/+12
| | | | | | | | | | | |\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | am: 6947a091f1 * commit '6947a091f1d9d2b62f5d4a6429df2679ffe5434b': Revert "Use resolved path for both checking and opening."
| | | | | | | | | | | | * Revert "Use resolved path for both checking and opening."Jeff Sharkey2016-01-152-62/+12
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This reverts commit 5accb135178325878840c6e36fc3e640ae582dea. Change-Id: I5ec1719b28feafb5b0850ec7c17cf23571ab0bba
| * | | | | | | | | | | | Use resolved path for both checking and opening. am: 5accb13517 am: ↵Jeff Sharkey2016-01-150-0/+0
| |\ \ \ \ \ \ \ \ \ \ \ \ | | |/ / / / / / / / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 3784acf34c am: 721a135472 -s ours am: fcbe3a53fa am: da4797f794 am: 9ee6a555cf am: ecd0dab75b am: 6c54c8fc53 am: cbcf09217a am: 6034546747 am: 7a8883afa7 * commit '7a8883afa7483652d65dbba8ee7d0e709e364e5f': Use resolved path for both checking and opening.
| | * | | | | | | | | | | Use resolved path for both checking and opening. am: 5accb13517 am: ↵Jeff Sharkey2016-01-150-0/+0
| | |\ \ \ \ \ \ \ \ \ \ \ | | | |/ / / / / / / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 3784acf34c am: 721a135472 -s ours am: fcbe3a53fa am: da4797f794 am: 9ee6a555cf am: ecd0dab75b am: 6c54c8fc53 am: cbcf09217a am: 6034546747 * commit '60345467479f7d22dfb982e8375db6e89aab718a': Use resolved path for both checking and opening.
| | | * | | | | | | | | | Use resolved path for both checking and opening. am: 5accb13517 am: ↵Jeff Sharkey2016-01-150-0/+0
| | | |\ \ \ \ \ \ \ \ \ \ | | | | |/ / / / / / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 3784acf34c am: 721a135472 -s ours am: fcbe3a53fa am: da4797f794 am: 9ee6a555cf am: ecd0dab75b am: 6c54c8fc53 am: cbcf09217a * commit 'cbcf09217a6bbd6753e01510870e0852fe963471': Use resolved path for both checking and opening.
| | | | * | | | | | | | | Use resolved path for both checking and opening. am: 5accb13517 am: ↵Jeff Sharkey2016-01-150-0/+0
| | | | |\ \ \ \ \ \ \ \ \ | | | | | |/ / / / / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 3784acf34c am: 721a135472 -s ours am: fcbe3a53fa am: da4797f794 am: 9ee6a555cf am: ecd0dab75b am: 6c54c8fc53 * commit '6c54c8fc534d11c25010e02f2000289a5faa62f2': Use resolved path for both checking and opening.
| | | | | * | | | | | | | Use resolved path for both checking and opening. am: 5accb13517 am: ↵Jeff Sharkey2016-01-150-0/+0
| | | | | |\ \ \ \ \ \ \ \ | | | | | | |/ / / / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 3784acf34c am: 721a135472 -s ours am: fcbe3a53fa am: da4797f794 am: 9ee6a555cf am: ecd0dab75b * commit 'ecd0dab75b2ec0cc7ee1387b5e3b404ce6c4b898': Use resolved path for both checking and opening.
| | | | | | * | | | | | | Use resolved path for both checking and opening. am: 5accb13517 am: ↵Jeff Sharkey2016-01-150-0/+0
| | | | | | |\ \ \ \ \ \ \ | | | | | | | |/ / / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 3784acf34c am: 721a135472 -s ours am: fcbe3a53fa am: da4797f794 am: 9ee6a555cf * commit '9ee6a555cf969fcd23d95dcc24ea0fe66f69a3f6': Use resolved path for both checking and opening.
| | | | | | | * | | | | | Use resolved path for both checking and opening. am: 5accb13517 am: ↵Jeff Sharkey2016-01-150-0/+0
| | | | | | | |\ \ \ \ \ \ | | | | | | | | |/ / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 3784acf34c am: 721a135472 -s ours am: fcbe3a53fa am: da4797f794 * commit 'da4797f794042c11fd18262f22e4f4e4df5f32c6': Use resolved path for both checking and opening.
| | | | | | | | * | | | | Use resolved path for both checking and opening. am: 5accb13517 am: ↵Jeff Sharkey2016-01-150-0/+0
| | | | | | | | |\ \ \ \ \ | | | | | | | | | |/ / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 3784acf34c am: 721a135472 -s ours am: fcbe3a53fa * commit 'fcbe3a53fa23b4ed0368ecbd55a1c21b504aff09': Use resolved path for both checking and opening.
| | | | | | | | | * | | | Use resolved path for both checking and opening. am: 5accb13517 am: 3784acf34cJeff Sharkey2016-01-150-0/+0
| | | | | | | | | |\ \ \ \ | | | | | | | | | | |/ / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | am: 721a135472 -s ours * commit '721a13547271c7af1629268d5e3b5e6361555270': Use resolved path for both checking and opening.
| | | | | | | | | | * | | Use resolved path for both checking and opening. am: 5accb13517Jeff Sharkey2016-01-152-12/+62
| | | | | | | | | | |\ \ \ | | | | | | | | | | | |/ / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | am: 3784acf34c * commit '3784acf34cce6aed448b3f3541b6734b79efb31d': Use resolved path for both checking and opening.
| | | | | | | | | | | * | Use resolved path for both checking and opening.Jeff Sharkey2016-01-152-12/+62
| | | | | | | | | | | |\ \ | | | | | | | | | | | | |/ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | am: 5accb13517 * commit '5accb135178325878840c6e36fc3e640ae582dea': Use resolved path for both checking and opening.
| | | | | | | | | | | | * Use resolved path for both checking and opening.Jeff Sharkey2016-01-142-12/+62
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This avoids a race condition where someone can change a symlink target after the security checks have passed. Bug: 26211054 Change-Id: I5842aaecc7b7d417a3b1902957b59b8a1f3c1ccb
| * | | | | | | | | | | | Use resolved path for both checking and opening. am: 5c08fb8cbe am: ↵Jeff Sharkey2016-01-150-0/+0
| |\ \ \ \ \ \ \ \ \ \ \ \ | | |/ / / / / / / / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 5d406ad384 am: 9d3bd7d1ea am: 13fbee9d2e am: 40b85de66a am: a4a018a5be am: 90e618a6e8 am: 5198da8949 * commit '5198da89496ccb52e44917eeb17d523a87d537f8': Use resolved path for both checking and opening.
| | * | | | | | | | | | | Use resolved path for both checking and opening. am: 5c08fb8cbe am: ↵Jeff Sharkey2016-01-150-0/+0
| | |\ \ \ \ \ \ \ \ \ \ \ | | | |/ / / / / / / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 5d406ad384 am: 9d3bd7d1ea am: 13fbee9d2e am: 40b85de66a am: a4a018a5be am: 90e618a6e8 * commit '90e618a6e8f768c225f8c6b4ae5345bbaa8bbea3': Use resolved path for both checking and opening.
| | | * | | | | | | | | | Use resolved path for both checking and opening. am: 5c08fb8cbe am: ↵Jeff Sharkey2016-01-150-0/+0
| | | |\ \ \ \ \ \ \ \ \ \ | | | | |/ / / / / / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 5d406ad384 am: 9d3bd7d1ea am: 13fbee9d2e am: 40b85de66a am: a4a018a5be * commit 'a4a018a5bedec66d2cb31a99056e4018b60a1ac2': Use resolved path for both checking and opening.
| | | | * | | | | | | | | Use resolved path for both checking and opening. am: 5c08fb8cbe am: ↵Jeff Sharkey2016-01-150-0/+0
| | | | |\ \ \ \ \ \ \ \ \ | | | | | |/ / / / / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 5d406ad384 am: 9d3bd7d1ea am: 13fbee9d2e am: 40b85de66a * commit '40b85de66a592cd2eaf3cb3766416a54d34e41f2': Use resolved path for both checking and opening.