Loading packages/SystemUI/src/com/android/systemui/statusbar/NotificationTemplateViewWrapper.java +2 −1 Original line number Diff line number Diff line Loading @@ -79,7 +79,8 @@ public class NotificationTemplateViewWrapper extends NotificationViewWrapper { // If the icon already has a color filter, we assume that we already forced the icon to be // white when we created the notification. mIconForceGraysaleWhenDark = mIcon != null && mIcon.getDrawable().getColorFilter() != null; final Drawable iconDrawable = mIcon != null ? mIcon.getDrawable() : null; mIconForceGraysaleWhenDark = iconDrawable != null && iconDrawable.getColorFilter() != null; } private ImageView resolveIcon(ImageView largeIcon, ImageView rightIcon) { Loading Loading
packages/SystemUI/src/com/android/systemui/statusbar/NotificationTemplateViewWrapper.java +2 −1 Original line number Diff line number Diff line Loading @@ -79,7 +79,8 @@ public class NotificationTemplateViewWrapper extends NotificationViewWrapper { // If the icon already has a color filter, we assume that we already forced the icon to be // white when we created the notification. mIconForceGraysaleWhenDark = mIcon != null && mIcon.getDrawable().getColorFilter() != null; final Drawable iconDrawable = mIcon != null ? mIcon.getDrawable() : null; mIconForceGraysaleWhenDark = iconDrawable != null && iconDrawable.getColorFilter() != null; } private ImageView resolveIcon(ImageView largeIcon, ImageView rightIcon) { Loading