Update database before sending broadcast.
authorJeff Sharkey <jsharkey@android.com>
Thu, 14 Feb 2013 18:07:16 +0000 (10:07 -0800)
committerJeff Sharkey <jsharkey@android.com>
Thu, 14 Feb 2013 18:07:16 +0000 (10:07 -0800)
commit292f9bffb4d4055db57b6e6419591f14e00bfc74
treed5a3a19c9b9e0e22f6c3998dccc96e29f8b2a439
parent925976230936a5177365dc24b50da8607a9af8d4
Update database before sending broadcast.

This was moved to to solve a race condition around service shutdown,
but ended up causing another race with remote apps.

Bug: 8200919
Change-Id: Ief470e9454e9be8ec43ca3ec11e3b3440fa5852d
src/com/android/providers/downloads/DownloadThread.java