Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 1bf47b91 authored by John Spurlock's avatar John Spurlock
Browse files

Doze: Better handling for non-default templates.

Only apply icon-specific filters if the views are found.

Bug:17289392
Change-Id: I23d1542f8e80d8efed2330fff3f86d0e58a54b7c
parent 64d04347
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -211,6 +211,7 @@ public class NotificationContentView extends FrameLayout {
    private void setImageViewDark(boolean dark, boolean fade, int imageViewId) {
        // TODO: implement fade
        final ImageView v = (ImageView) mContractedChild.findViewById(imageViewId);
        if (v == null) return;
        final Drawable d = v.getBackground();
        if (dark) {
            v.setLayerType(LAYER_TYPE_HARDWARE, INVERT_PAINT);