X-Git-Url: http://git.linex4red.de/pub/Android/ownCloud.git/blobdiff_plain/15d22fa7d6aabc3baa5f88aa02a0b85ccb9a71bd..85db28795dd254c08047b60ed4839e89f458c64c:/src/com/owncloud/android/files/managers/OCNotificationManager.java diff --git a/src/com/owncloud/android/files/managers/OCNotificationManager.java b/src/com/owncloud/android/files/managers/OCNotificationManager.java index 11a8c377..47fb491d 100644 --- a/src/com/owncloud/android/files/managers/OCNotificationManager.java +++ b/src/com/owncloud/android/files/managers/OCNotificationManager.java @@ -22,6 +22,7 @@ import java.util.HashMap; import java.util.Map; import com.owncloud.android.R; +import com.owncloud.android.utils.DisplayUtils; import android.app.Notification; import android.app.NotificationManager; @@ -101,7 +102,7 @@ public class OCNotificationManager { switch (type) { case NOTIFICATION_SIMPLE: - notification = new Notification(R.drawable.icon, data.getText(), System.currentTimeMillis()); + notification = new Notification(DisplayUtils.getSeasonalIconId(), data.getText(), System.currentTimeMillis()); break; case NOTIFICATION_PROGRESS: notification = new Notification(); @@ -139,7 +140,7 @@ public class OCNotificationManager { false); return true; case NOTIFICATION_SIMPLE: - pair.mNotificaiton = new Notification(R.drawable.icon, + pair.mNotificaiton = new Notification(DisplayUtils.getSeasonalIconId(), data.getText(), System.currentTimeMillis()); mNM.notify(notification_id, pair.mNotificaiton); return true;