summaryrefslogtreecommitdiffstats
path: root/src/com/android/launcher3/notification
diff options
context:
space:
mode:
Diffstat (limited to 'src/com/android/launcher3/notification')
-rw-r--r--src/com/android/launcher3/notification/NotificationInfo.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/com/android/launcher3/notification/NotificationInfo.java b/src/com/android/launcher3/notification/NotificationInfo.java
index 1b7c87b22..f54a50d45 100644
--- a/src/com/android/launcher3/notification/NotificationInfo.java
+++ b/src/com/android/launcher3/notification/NotificationInfo.java
@@ -73,7 +73,7 @@ public class NotificationInfo implements View.OnClickListener {
if (icon == null) {
// Use the small icon.
icon = notification.getSmallIcon();
- mIconDrawable = icon.loadDrawable(context);
+ mIconDrawable = icon == null ? null : icon.loadDrawable(context);
mIconColor = statusBarNotification.getNotification().color;
mIsIconLarge = false;
} else {