summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Enforce calling identity before clearing.stable/cm-13.0-ZNH5YJeff Sharkey2016-12-031-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. RM-290 Bug: 30537115, 30945409 Change-Id: If944aada020878a91c363963728d0da9f6fae3ea (cherry picked from commit 7c1af8c62c8bdf6e8de5a00c1927daf9fd9c03d1)
* Automatic translation importpinky@build012016-08-214-0/+245
| | | | | Change-Id: I90d68c2fd68129705818bf7a25ecb83a354567c9 Ticket: RM-290
* Automatic translation importpinky@build012016-08-190-0/+0
| | | | | Change-Id: Ib297dbd0fa7d42c14d3ebbde35d919a1af1e5e00 Ticket: RM-290
* Automatic translation importpinky@build012016-08-194-0/+245
| | | | | Change-Id: Ie83ac750af286154460347e1016ba757f7f7fe0a Ticket: RM-290
* Automatic translation importblinky@build012016-08-134-0/+245
| | | | | Change-Id: I50852f2cbef28ab3263e4628d9a51015694defb5 Ticket: RM-290
* Automatic translation importclyde@build012016-08-080-0/+0
| | | | | Change-Id: I7c7a5fb0165d1ec278cdabfac05ad93b0447f5df Ticket: RM-290
* Automatic translation importinky@build012016-08-080-0/+0
| | | | | Change-Id: I2eb4acd864139e08926b1c8a78885cc68dfec013 Ticket: RM-290
* Automatic translation importinky@build012016-08-0711-25/+40
| | | | | Change-Id: Ie928c5a763685a2fd579b42397ae6855102e3800 Ticket: RM-290
* 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."
| | | | | | | | | | | * \ 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.