Update notifications when no jobs are scheduled.
authorJeff Sharkey <jsharkey@android.com>
Wed, 22 Jun 2016 17:48:04 +0000 (11:48 -0600)
committerJeff Sharkey <jsharkey@android.com>
Wed, 22 Jun 2016 17:48:36 +0000 (11:48 -0600)
commit07c50f1e60407083113bacf7c39b8bda67523b2b
treef499d15a57b5475f357979ef41f1f66fdc00201f
parent473ee1358deac95b094a40fd47397ab97b975751
Update notifications when no jobs are scheduled.

When inserting an already-completed download, we don't schedule a
job, leaving notifications stale until the next real download comes
along.  This change kicks off a notification update pass in these
cases to ensure we reflect the internal state.

Bug: 29548026
Change-Id: I6ff87d69d83c265738d5e035197204bbb63cfa81
src/com/android/providers/downloads/Helpers.java