Scan completed downloads when requested.
authorJeff Sharkey <jsharkey@android.com>
Mon, 9 May 2016 20:51:23 +0000 (14:51 -0600)
committerThe Android Automerger <android-build@google.com>
Mon, 9 May 2016 23:44:44 +0000 (16:44 -0700)
commit01c7b5df1286ad904e6a98b8f61109c5b914dbf2
tree6969eebd6afe4abd20cdee1c9cbf481d0b537678
parent31c4ea78b1cb824ba95b941cc195d22ebfe7a28d
Scan completed downloads when requested.

The recent JobScheduler rewrite means we no longer spin up a service
when insterting an already-completed download.  However, the calling
app may have requested the download to be scanned, so kick off a
scan request for them.

Bug: 28659693
Change-Id: I497e10995ba04f1522fe8d7e547ebea6e305f6e9
src/com/android/providers/downloads/DownloadProvider.java
src/com/android/providers/downloads/DownloadScanner.java