Revoke grants when downloads are deleted.
authorJeff Sharkey <jsharkey@android.com>
Thu, 26 Sep 2013 21:30:47 +0000 (14:30 -0700)
committerJeff Sharkey <jsharkey@android.com>
Thu, 26 Sep 2013 21:36:35 +0000 (14:36 -0700)
commitafaf53bd2b1322167b6f31eda941e38335c4a952
tree1365d79e163582cde8e18471b90c393a6df5825a
parent776e4f7991c4f5637f9a945ed9190a26ff295446
Revoke grants when downloads are deleted.

When deleting downloads, revoke any Uri permission grants, which
removes from getPersistedUriPermissions().

Bug: 10928851
Change-Id: I3e90c4071385832dcb3e0cf9ca3fdccafbe30037
src/com/android/providers/downloads/DownloadProvider.java
src/com/android/providers/downloads/DownloadStorageProvider.java