Uniform "when" to avoid flashing notifications.
authorJeff Sharkey <jsharkey@android.com>
Thu, 7 Jun 2012 18:10:18 +0000 (11:10 -0700)
committerJeff Sharkey <jsharkey@android.com>
Thu, 7 Jun 2012 18:10:18 +0000 (11:10 -0700)
commitf918429d0c1927a19d688baa26a07c2c65765580
tree1e80902f89b6d250f60e210c0f3379f88a523114
parent03fcf94300996a9cb7889ca03ddb2c62ca2ba606
Uniform "when" to avoid flashing notifications.

When showing a download, remember the first timestamp when we showed
a notification, and use that time as "when" for all future updates
to avoid flashing.

Also bring back icon animation that had regressed.

Bug: 6596416, 6237256
Change-Id: Ifdc5dc6870dac047515151c1b088e6e379b6a063
src/com/android/providers/downloads/DownloadNotification.java