diff options
author | Lixin Yue <L.X.YUE@motorola.com> | 2009-11-25 13:37:57 -0800 |
---|---|---|
committer | Android Git Automerger <android-git-automerger@android.com> | 2009-11-25 13:37:57 -0800 |
commit | 5b9bcf8d3f74b8827b2a2e1f148d8ccd574083c8 (patch) | |
tree | 78c1333294a0fd96bdcbe9be9b0599f11b4a13c4 | |
parent | caec636f568242f59196fec7487051d535c236e6 (diff) | |
parent | 18c3040260907472a9e471e5707a5b2f8320d074 (diff) | |
download | android_packages_providers_DownloadProvider-5b9bcf8d3f74b8827b2a2e1f148d8ccd574083c8.tar.gz android_packages_providers_DownloadProvider-5b9bcf8d3f74b8827b2a2e1f148d8ccd574083c8.tar.bz2 android_packages_providers_DownloadProvider-5b9bcf8d3f74b8827b2a2e1f148d8ccd574083c8.zip |
am 18c30402: Fix Download application notification timestamp not correct issue
Merge commit '18c3040260907472a9e471e5707a5b2f8320d074' into eclair-mr2-plus-aosp
* commit '18c3040260907472a9e471e5707a5b2f8320d074':
Fix Download application notification timestamp not correct issue
-rw-r--r-- | src/com/android/providers/downloads/DownloadNotification.java | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/com/android/providers/downloads/DownloadNotification.java b/src/com/android/providers/downloads/DownloadNotification.java index 9f54190e..fe5217f0 100644 --- a/src/com/android/providers/downloads/DownloadNotification.java +++ b/src/com/android/providers/downloads/DownloadNotification.java @@ -276,6 +276,8 @@ class DownloadNotification { intent.setClassName("com.android.providers.downloads", DownloadReceiver.class.getName()); intent.setData(contentUri); + + n.when = c.getLong(lastModColumnId); n.setLatestEventInfo(mContext, title, caption, PendingIntent.getBroadcast(mContext, 0, intent, 0)); @@ -285,8 +287,6 @@ class DownloadNotification { intent.setData(contentUri); n.deleteIntent = PendingIntent.getBroadcast(mContext, 0, intent, 0); - n.when = c.getLong(lastModColumnId); - mNotificationMgr.notify(c.getInt(idColumn), n); } c.close(); |