[automerger] Handle null small icon am: 207f7d7f86
Change-Id: I2003fe3d654829f8a2d1d16a38213cf5a262650f
This commit is contained in:
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 {
|
||||
|
||||
Reference in new issue
Block a user