Always update notifications, media scanner.
authorJeff Sharkey <jsharkey@android.com>
Fri, 4 Oct 2013 23:02:50 +0000 (16:02 -0700)
committerJeff Sharkey <jsharkey@android.com>
Fri, 4 Oct 2013 23:03:04 +0000 (16:03 -0700)
commit1225c34df262ece7a9f95ee5fe61c1985bf16df1
treef53afa36fb7bb8eb128c1987527cd6b55b7752ad
parentdfb6502136dc6683166f2104d93c22e1b72e1818
Always update notifications, media scanner.

insert() was trying to be too clever, and it would end up delaying
the media scanner until the next download happened.  This resulted
in duplicate photos in DocumentsUI.

Bug: 11081685
Change-Id: Ic9549ede38118372849119dd3a21415a4723e9f5
src/com/android/providers/downloads/DownloadProvider.java