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

Commit 84d29548 authored by John Spurlock's avatar John Spurlock Committed by Android Git Automerger
Browse files

am b916b16a: Merge "Doze: Better handling for non-default templates." into lmp-dev

* commit 'b916b16a8d683720737278743bc8781fce4d7831':
  Doze: Better handling for non-default templates.
parents 49a07d7b 03ada990
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);