diff options
author | Suprabh Shukla <suprabh@google.com> | 2017-02-27 15:56:11 -0800 |
---|---|---|
committer | Suprabh Shukla <suprabh@google.com> | 2017-03-07 15:03:01 -0800 |
commit | 2ab9a2d15c63cd567805adb8fa4b9c524afc5ceb (patch) | |
tree | 66b223080a37530a8df975f3ce4adc5fd9dcce81 /tests | |
parent | 74d1965590fdaad79ba4c2f4631d187086501d43 (diff) | |
download | android_packages_providers_DownloadProvider-2ab9a2d15c63cd567805adb8fa4b9c524afc5ceb.tar.gz android_packages_providers_DownloadProvider-2ab9a2d15c63cd567805adb8fa4b9c524afc5ceb.tar.bz2 android_packages_providers_DownloadProvider-2ab9a2d15c63cd567805adb8fa4b9c524afc5ceb.zip |
Deleting downloads for removed uids on downloadprovider start
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
Change-Id: I7382c4846f99035b40412a01715aee5873efa9e6
Diffstat (limited to 'tests')
0 files changed, 0 insertions, 0 deletions