DO NOT MERGE. Use resolved path when inserting and deleting.
authorJeff Sharkey <jsharkey@android.com>
Tue, 16 Feb 2016 22:47:03 +0000 (15:47 -0700)
committerJeff Sharkey <jsharkey@google.com>
Tue, 16 Feb 2016 23:08:45 +0000 (23:08 +0000)
commitebb842e081f2d9eddbeddb9447631fd81e8961b9
tree4f8bcf712f853285582f0fdaaeda97ca2940b9b4
parente33446d2dc4846df0fe93da49090b990e2db9267
DO NOT MERGE. Use resolved path when inserting and deleting.

This avoids a race condition where someone can change a symlink
target after the security checks have passed.

Bug: 26211054
Change-Id: I40ed6d2298e4b66b4f7a055e68d9820515adf351
src/com/android/providers/downloads/DownloadProvider.java