commit | f96f51e8d7386341ca209c795cc6621ab0608d45 | [log] [tgz] |
---|---|---|
author | Jeff Sharkey <jsharkey@android.com> | Fri Oct 14 15:31:37 2016 -0600 |
committer | Jeff Sharkey <jsharkey@google.com> | Fri Oct 14 21:45:15 2016 +0000 |
tree | c19b111aef28a52efc0147ef2bcd56dc423cc4b6 | |
parent | 968b2f2ca3fc43b762150114048b21a23bf35c73 [diff] |
Only send DOWNLOAD_COMPLETE broadcast once. Apps might end up confused if we tell them a download was completed multiple times, so only send the broadcast exactly once when we transition it into a "completed" state, either during an update() or a delete() operation. Test: verified single broadcast with test app Bug: 31619480 Change-Id: I0b9139ea0e37f6d212b84314048692cd0c4f9cdf