summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Import translations. DO NOT MERGEBill Yi2017-03-2380-0/+160
| | | | | Change-Id: If999d4739151dcafefe56ebd6486fe57664242da Auto-generated-cl: translation import
* Merge "Add android:label to DownloadStorageProvider."TreeHugger Robot2017-03-202-0/+4
|\
| * Add android:label to DownloadStorageProvider.Ben Lin2017-03-172-0/+4
| | | | | | | | | | | | Test: Builds. Bug: 30138665 Change-Id: I2ba32a7e18b69a94996fdfff50d2a2b3c8b6d7a0
* | Merge "packages/providers/DownloadProvider: Add APCT tests to the ↵TreeHugger Robot2017-03-161-0/+1
|\ \ | | | | | | | | | device-tests suite."
| * | packages/providers/DownloadProvider: Add APCT tests to the device-tests suite.Simran Basi2017-03-151-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This CL adds the APCT tests within this project to a similar suite as CTS known as device-tests. The current method of running APCT tests in the infrastructure is unaffected. Bug: 35882476 Test: `make dist device-tests -j` and local builds of continuous_instrumentation_tests & continuous_native_tests Change-Id: Ia52f36245fb9ec0bedcc71933fb2af46310fb1a9
* | | Add findDocumentPath support to DownloadStorageProvider.Garfield Tan2017-03-161-0/+17
|/ / | | | | | | | | Bug: 36254483 Change-Id: Ia53312cd79673ee85d0385f50e8dfef4d7ace3d4
* | DO NOT MERGE Deleting downloads for removed uids on downloadprovider start ↵Suprabh Shukla2017-03-140-0/+0
|\ \ | | | | | | | | | | | | | | | | | | | | | am: 8ad6045738 am: 6eb1898f65 am: 9fdf777780 -s ours am: 54d494e994 -s ours am: 389478b4c7 -s ours am: 2884b53749 -s ours am: a807984fb9 -s ours am: 7ae71fcac9 -s ours am: 6e03beb1f0 -s ours am: 3afff5f7f9 -s ours am: 723b01ceef -s ours am: bf2ee73217 -s ours am: 79f65e6e96 -s ours am: 09fb61e771 -s ours am: 89476caada -s ours am: 535b25d44d -s ours Change-Id: I1c1a873a0a2a4f0dd41385f22aee3de3ca172ef8
| * \ DO NOT MERGE Deleting downloads for removed uids on downloadprovider start ↵Suprabh Shukla2017-03-140-0/+0
| |\ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | am: 8ad6045738 am: 6eb1898f65 am: 9fdf777780 -s ours am: 54d494e994 -s ours am: 389478b4c7 -s ours am: 2884b53749 -s ours am: a807984fb9 -s ours am: 7ae71fcac9 -s ours am: 6e03beb1f0 -s ours am: 3afff5f7f9 -s ours am: 723b01ceef -s ours am: bf2ee73217 -s ours am: 79f65e6e96 -s ours am: 09fb61e771 -s ours am: 89476caada -s ours Change-Id: Ib3e9782b32ac1b2add5ed7cf91275fa6fa827abd
| | * \ DO NOT MERGE Deleting downloads for removed uids on downloadprovider start ↵Suprabh Shukla2017-03-140-0/+0
| | |\ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | am: 8ad6045738 am: 6eb1898f65 am: 9fdf777780 -s ours am: 54d494e994 -s ours am: 389478b4c7 -s ours am: 2884b53749 -s ours am: a807984fb9 -s ours am: 7ae71fcac9 -s ours am: 6e03beb1f0 -s ours am: 3afff5f7f9 -s ours am: 723b01ceef -s ours am: bf2ee73217 -s ours am: 79f65e6e96 -s ours am: 09fb61e771 -s ours Change-Id: I5675929a9e700cdb46c914a92e36d3dcda662b63
| | | * \ DO NOT MERGE Deleting downloads for removed uids on downloadprovider start ↵Suprabh Shukla2017-03-140-0/+0
| | | |\ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | am: 8ad6045738 am: 6eb1898f65 am: 9fdf777780 -s ours am: 54d494e994 -s ours am: 389478b4c7 -s ours am: 2884b53749 -s ours am: a807984fb9 -s ours am: 7ae71fcac9 -s ours am: 6e03beb1f0 -s ours am: 3afff5f7f9 -s ours am: 723b01ceef -s ours am: bf2ee73217 -s ours am: 79f65e6e96 -s ours Change-Id: Ie7902b091fd071574c21d269cee0b42d50d85cb2
| | | | * \ DO NOT MERGE Deleting downloads for removed uids on downloadprovider start ↵Suprabh Shukla2017-03-140-0/+0
| | | | |\ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | am: 8ad6045738 am: 6eb1898f65 am: 9fdf777780 -s ours am: 54d494e994 -s ours am: 389478b4c7 -s ours am: 2884b53749 -s ours am: a807984fb9 -s ours am: 7ae71fcac9 -s ours am: 6e03beb1f0 -s ours am: 3afff5f7f9 -s ours am: 723b01ceef -s ours am: bf2ee73217 -s ours Change-Id: I144d5180f310ac75477b9501a10e0f4fc18164ec
| | | | | * \ DO NOT MERGE Deleting downloads for removed uids on downloadprovider start ↵Suprabh Shukla2017-03-140-0/+0
| | | | | |\ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | am: 8ad6045738 am: 6eb1898f65 am: 9fdf777780 -s ours am: 54d494e994 -s ours am: 389478b4c7 -s ours am: 2884b53749 -s ours am: a807984fb9 -s ours am: 7ae71fcac9 -s ours am: 6e03beb1f0 -s ours am: 3afff5f7f9 -s ours am: 723b01ceef -s ours Change-Id: Ibbf7dcbe230ac94fcf3f84c37676c06fee487f68
| | | | | | * \ DO NOT MERGE Deleting downloads for removed uids on downloadprovider start ↵Suprabh Shukla2017-03-140-0/+0
| | | | | | |\ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | am: 8ad6045738 am: 6eb1898f65 am: 9fdf777780 -s ours am: 54d494e994 -s ours am: 389478b4c7 -s ours am: 2884b53749 -s ours am: a807984fb9 -s ours am: 7ae71fcac9 -s ours am: 6e03beb1f0 -s ours am: 3afff5f7f9 -s ours Change-Id: I96a6a8e4c9a2fa4a333265634729545aefb11c4c
| | | | | | | * \ DO NOT MERGE Deleting downloads for removed uids on downloadprovider start ↵Suprabh Shukla2017-03-140-0/+0
| | | | | | | |\ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | am: 8ad6045738 am: 6eb1898f65 am: 9fdf777780 -s ours am: 54d494e994 -s ours am: 389478b4c7 -s ours am: 2884b53749 -s ours am: a807984fb9 -s ours am: 7ae71fcac9 -s ours am: 6e03beb1f0 -s ours Change-Id: Iac0cb067bff1f992c0f2357d99665404b17daa1b
| | | | | | | | * \ DO NOT MERGE Deleting downloads for removed uids on downloadprovider start ↵Suprabh Shukla2017-03-140-0/+0
| | | | | | | | |\ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | am: 8ad6045738 am: 6eb1898f65 am: 9fdf777780 -s ours am: 54d494e994 -s ours am: 389478b4c7 -s ours am: 2884b53749 -s ours am: a807984fb9 -s ours am: 7ae71fcac9 -s ours Change-Id: Idebf42d211c6ded7abbfd130a428ae304f66f53f
| | | | | | | | | * \ DO NOT MERGE Deleting downloads for removed uids on downloadprovider start ↵Suprabh Shukla2017-03-140-0/+0
| | | | | | | | | |\ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | am: 8ad6045738 am: 6eb1898f65 am: 9fdf777780 -s ours am: 54d494e994 -s ours am: 389478b4c7 -s ours am: 2884b53749 -s ours am: a807984fb9 -s ours Change-Id: Iea37136e7cf5d15ba6e6425166c2db300ef662f7
| | | | | | | | | | * \ DO NOT MERGE Deleting downloads for removed uids on downloadprovider start ↵Suprabh Shukla2017-03-140-0/+0
| | | | | | | | | | |\ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | am: 8ad6045738 am: 6eb1898f65 am: 9fdf777780 -s ours am: 54d494e994 -s ours am: 389478b4c7 -s ours am: 2884b53749 -s ours Change-Id: Iefa4ae872e26a8852c320439854e979a11920c63
| | | | | | | | | | | * \ DO NOT MERGE Deleting downloads for removed uids on downloadprovider start ↵Suprabh Shukla2017-03-140-0/+0
| | | | | | | | | | | |\ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | am: 8ad6045738 am: 6eb1898f65 am: 9fdf777780 -s ours am: 54d494e994 -s ours am: 389478b4c7 -s ours Change-Id: I22f989d4146bbc582b370af6542981a8ec20048e
| | | | | | | | | | | | * \ DO NOT MERGE Deleting downloads for removed uids on downloadprovider start ↵Suprabh Shukla2017-03-140-0/+0
| | | | | | | | | | | | |\ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | am: 8ad6045738 am: 6eb1898f65 am: 9fdf777780 -s ours am: 54d494e994 -s ours Change-Id: I18e940c843988b11cf0632f5370ef4bdbaed30ed
| | | | | | | | | | | | | * \ DO NOT MERGE Deleting downloads for removed uids on downloadprovider start ↵Suprabh Shukla2017-03-140-0/+0
| | | | | | | | | | | | | |\ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | am: 8ad6045738 am: 6eb1898f65 am: 9fdf777780 -s ours Change-Id: I7159b2b35dff4931041b7836521249379eea81c6
| | | | | | | | | | | | | | * \ DO NOT MERGE Deleting downloads for removed uids on downloadprovider start ↵Suprabh Shukla2017-03-141-1/+69
| | | | | | | | | | | | | | |\ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | am: 8ad6045738 am: 6eb1898f65 Change-Id: I33c176c144ba8bbbf53446cf1c9bec8e057f95b8
| | | | | | | | | | | | | | | * \ DO NOT MERGE Deleting downloads for removed uids on downloadprovider startSuprabh Shukla2017-03-141-1/+69
| | | | | | | | | | | | | | | |\ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | am: 8ad6045738 Change-Id: I3cea41b3042850f88e3719243fe8a5ab1bdeb232
| | | | | | | | | | | | | | | | * | DO NOT MERGE Deleting downloads for removed uids on downloadprovider startSuprabh Shukla2017-03-131-1/+69
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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 Change-Id: I7382c4846f99035b40412a01715aee5873efa9e6
* | | | | | | | | | | | | | | | | | Deleting downloads for removed uids on downloadprovider start am: e21ad54b4c ↵Suprabh Shukla2017-03-140-0/+0
|\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | am: b8be7d0af6 am: 8b2d80cf02 am: 605061d818 am: d3f291cb2b am: ae59c785d4 am: 9ffaf40f6d -s ours am: 03f96e843a -s ours am: 3760fddda4 -s ours am: 638f5770b9 -s ours am: cbedbb2578 -s ours am: 8c6ad41e57 -s ours am: c4b14b2fd0 -s ours Change-Id: I8bc56019835136cc8de2142650e882000f825f1b
| * | | | | | | | | | | | | | | | | Deleting downloads for removed uids on downloadprovider start am: e21ad54b4c ↵Suprabh Shukla2017-03-140-0/+0
| |\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | am: b8be7d0af6 am: 8b2d80cf02 am: 605061d818 am: d3f291cb2b am: ae59c785d4 am: 9ffaf40f6d -s ours am: 03f96e843a -s ours am: 3760fddda4 -s ours am: 638f5770b9 -s ours am: cbedbb2578 -s ours am: 8c6ad41e57 -s ours Change-Id: I1f3fab3bce333a4a2ed88c31daaf9104a2e8d6a4
| | * | | | | | | | | | | | | | | | Deleting downloads for removed uids on downloadprovider start am: e21ad54b4c ↵Suprabh Shukla2017-03-140-0/+0
| | |\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | am: b8be7d0af6 am: 8b2d80cf02 am: 605061d818 am: d3f291cb2b am: ae59c785d4 am: 9ffaf40f6d -s ours am: 03f96e843a -s ours am: 3760fddda4 -s ours am: 638f5770b9 -s ours am: cbedbb2578 -s ours Change-Id: Ia82400ada246287577670cd94d8cb4cc7527e2d6
| | | * | | | | | | | | | | | | | | Deleting downloads for removed uids on downloadprovider start am: e21ad54b4c ↵Suprabh Shukla2017-03-140-0/+0
| | | |\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | am: b8be7d0af6 am: 8b2d80cf02 am: 605061d818 am: d3f291cb2b am: ae59c785d4 am: 9ffaf40f6d -s ours am: 03f96e843a -s ours am: 3760fddda4 -s ours am: 638f5770b9 -s ours Change-Id: Ib2f43c515120eda41e8363f10e5e75f6821be959
| | | | * | | | | | | | | | | | | | Deleting downloads for removed uids on downloadprovider start am: e21ad54b4c ↵Suprabh Shukla2017-03-130-0/+0
| | | | |\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | am: b8be7d0af6 am: 8b2d80cf02 am: 605061d818 am: d3f291cb2b am: ae59c785d4 am: 9ffaf40f6d -s ours am: 03f96e843a -s ours am: 3760fddda4 -s ours Change-Id: Ib24c8753d421a94a24e365a5564692bbd8c4a056
| | | | | * | | | | | | | | | | | | Deleting downloads for removed uids on downloadprovider start am: e21ad54b4c ↵Suprabh Shukla2017-03-130-0/+0
| | | | | |\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | am: b8be7d0af6 am: 8b2d80cf02 am: 605061d818 am: d3f291cb2b am: ae59c785d4 am: 9ffaf40f6d -s ours am: 03f96e843a -s ours Change-Id: I856f7fa3759993eb24654cf7502d062b3c628916
| | | | | | * | | | | | | | | | | | Deleting downloads for removed uids on downloadprovider start am: e21ad54b4c ↵Suprabh Shukla2017-03-130-0/+0
| | | | | | |\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | am: b8be7d0af6 am: 8b2d80cf02 am: 605061d818 am: d3f291cb2b am: ae59c785d4 am: 9ffaf40f6d -s ours Change-Id: I7286e9c43884ed838ccae615df15fce44188f512
| | | | | | | * | | | | | | | | | | Deleting downloads for removed uids on downloadprovider start am: e21ad54b4c ↵Suprabh Shukla2017-03-131-9/+45
| | | | | | | |\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | am: b8be7d0af6 am: 8b2d80cf02 am: 605061d818 am: d3f291cb2b am: ae59c785d4 Change-Id: I6cbeba9440955af0f868bae017233b080d304881
| | | | | | | | * | | | | | | | | | Deleting downloads for removed uids on downloadprovider start am: e21ad54b4c ↵Suprabh Shukla2017-03-131-9/+45
| | | | | | | | |\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | am: b8be7d0af6 am: 8b2d80cf02 am: 605061d818 am: d3f291cb2b Change-Id: I9c04318a76babd22b098f9565b4fc01fd42da172
| | | | | | | | | * | | | | | | | | Deleting downloads for removed uids on downloadprovider start am: e21ad54b4c ↵Suprabh Shukla2017-03-131-9/+45
| | | | | | | | | |\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | am: b8be7d0af6 am: 8b2d80cf02 am: 605061d818 Change-Id: I77661ae65ac82ea86f3a70d072e4f75d95427734
| | | | | | | | | | * | | | | | | | Deleting downloads for removed uids on downloadprovider start am: e21ad54b4c ↵Suprabh Shukla2017-03-131-9/+45
| | | | | | | | | | |\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | am: b8be7d0af6 am: 8b2d80cf02 Change-Id: Ife69c70213cd252d42cd8d228808100e6d590e07
| | | | | | | | | | | * | | | | | | Deleting downloads for removed uids on downloadprovider start am: e21ad54b4cSuprabh Shukla2017-03-131-9/+45
| | | | | | | | | | | |\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | am: b8be7d0af6 Change-Id: I1ef8b0972c8f439a3d623ff8d75fea97514bdde5
| | | | | | | | | | | | * | | | | | Deleting downloads for removed uids on downloadprovider startSuprabh Shukla2017-03-131-9/+45
| | | | | | | | | | | | |\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | am: e21ad54b4c Change-Id: Ia4a792aa35c4ad60ef45896ec7dcd8a10c1d64f4
| | | | | | | | | | | | | * | | | | Deleting downloads for removed uids on downloadprovider startSuprabh Shukla2017-03-081-9/+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 Change-Id: I7382c4846f99035b40412a01715aee5873efa9e6
* | | | | | | | | | | | | | | | | | DO NOT MERGE Deleting downloads for removed uids on downloadprovider start ↵Suprabh Shukla2017-03-130-0/+0
|\| | | | | | | | | | | | | | | | | | |_|_|_|_|_|_|_|_|_|_|_|_|_|_|_|/ |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | am: 3b15466b3c am: f17f32daec am: a6de368a91 am: 84b6c3ba56 am: 0b7ca0f777 am: 0bdb50d6bd -s ours Change-Id: I26b8c8ee09984edd70707fe366be696a79ef9562
| * | | | | | | | | | | | | | | | DO NOT MERGE Deleting downloads for removed uids on downloadprovider start ↵Suprabh Shukla2017-03-131-10/+45
| |\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | am: 3b15466b3c am: f17f32daec am: a6de368a91 am: 84b6c3ba56 am: 0b7ca0f777 Change-Id: I1a8179ade1626ca20755e950d9c0453271ede171
| | * | | | | | | | | | | | | | | DO NOT MERGE Deleting downloads for removed uids on downloadprovider start ↵Suprabh Shukla2017-03-131-10/+45
| | |\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | am: 3b15466b3c am: f17f32daec am: a6de368a91 am: 84b6c3ba56 Change-Id: Ib95a1b348ff64a69f920e6d86f86c776ad5b07e8
| | | * | | | | | | | | | | | | | DO NOT MERGE Deleting downloads for removed uids on downloadprovider start ↵Suprabh Shukla2017-03-131-10/+45
| | | |\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | am: 3b15466b3c am: f17f32daec am: a6de368a91 Change-Id: I5458d33e43eee6a614f949d68b199291d9e292e1
| | | | * | | | | | | | | | | | | DO NOT MERGE Deleting downloads for removed uids on downloadprovider start ↵Suprabh Shukla2017-03-131-10/+45
| | | | |\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | am: 3b15466b3c am: f17f32daec Change-Id: I77238b56330c4f248cc05a81f4c84332b2823330
| | | | | * | | | | | | | | | | | DO NOT MERGE Deleting downloads for removed uids on downloadprovider startSuprabh Shukla2017-03-131-10/+45
| | | | | |\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | am: 3b15466b3c Change-Id: I94412449bbcbbe2166ac4b108e2d085352344632
| | | | | | * | | | | | | | | | | DO NOT MERGE Deleting downloads for removed uids on downloadprovider startSuprabh Shukla2017-03-091-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 Change-Id: I7382c4846f99035b40412a01715aee5873efa9e6 (cherry picked from commit 2ab9a2d15c63cd567805adb8fa4b9c524afc5ceb)
* | | | | | | | | | | | | | | | | Add rawDocumentsUri handling to TrampolineActivity.Ben Lin2017-03-105-20/+97
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Test: Build, compiles, does not crash. Bug: 36033829 Change-Id: I8756c6abd872e4b14cff3c604c37f82323b44c27
* | | | | | | | | | | | | | | | | Merge "Remove unnecessary direct dependency on dexmaker" am: b33ebabb85 am: ↵Paul Duffin2017-03-091-1/+0
|\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 5f8a055a1c am: 9264e2d7c2 Change-Id: Ic76eb48cbe5ab523eabb26cedc4f2cc4925d1073
| * | | | | | | | | | | | | | | | Merge "Remove unnecessary direct dependency on dexmaker" am: b33ebabb85Paul Duffin2017-03-091-1/+0
| |\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | am: 5f8a055a1c Change-Id: I9ddca89ce46d815c83ae039adb977cdbe4405f92
| | * | | | | | | | | | | | | | | | Merge "Remove unnecessary direct dependency on dexmaker"Paul Duffin2017-03-091-1/+0
| |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | am: b33ebabb85 Change-Id: I00794ec62d345764f283c5854d69c58963d628ab
| | * | | | | | | | | | | | | | | | Merge "Remove unnecessary direct dependency on dexmaker"Paul Duffin2017-03-091-1/+0
| | |\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \
| | | * | | | | | | | | | | | | | | | Remove unnecessary direct dependency on dexmakerPaul Duffin2017-03-071-1/+0
| | |/ / / / / / / / / / / / / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The mockito-target library already statically includes dexmaker so the direct dependency is unnecessary and could make the upgrade of mockito more difficult. This is part of the cleanup work prior to upgrading mockito. I ran the tests before and after the change and in both cases got 2 failures and between 4-6 errors; at least some of the errors are flaky as the exact number changed from one run to the next. Bug: 32912773 Test: clean make of DownloadProviderTests, verify still includes dexmaker classes Change-Id: I8133d0869a2b0ff7a9ffc19daff61ed1bbc6a7f6