Merge changes from topic "am-cd88620d-8a17-4592-86c7-f98ff940a436" into ub-launcher3-master
* changes:
[automerger] Handle null small icon am: 207f7d7f86
Handle null small icon
diff --git a/src/com/android/launcher3/notification/NotificationInfo.java b/src/com/android/launcher3/notification/NotificationInfo.java
index 8ef10e3..120de04 100644
--- a/src/com/android/launcher3/notification/NotificationInfo.java
+++ b/src/com/android/launcher3/notification/NotificationInfo.java
@@ -72,7 +72,7 @@
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 {