[automerger] Handle null small icon am: 207f7d7f86

Change-Id: I2003fe3d654829f8a2d1d16a38213cf5a262650f
This commit is contained in:
Android Build Merger (Role) committed 2017-10-06 21:03:28 +00:00
commit d4899cfc2f
1 file changed
+1 -1
@@ -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 {