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

Commit d9a3f8f0 authored by Selim Cinek's avatar Selim Cinek
Browse files

Fixed a bug where children could have fake shadows

Bug: 24866646
Change-Id: I2a6e7749a16eb62480abbb49b5f600af1e8c327a
parent 23c80348
Loading
Loading
Loading
Loading
+4 −0
Original line number Diff line number Diff line
@@ -379,6 +379,8 @@ public class NotificationChildrenContainer extends ViewGroup {
            }
            tmpState.alpha = alpha;
            state.applyViewState(divider, tmpState);
            // There is no fake shadow to be drawn on the children
            child.setFakeShadowIntensity(0.0f, 0.0f, 0, 0);
        }
    }

@@ -413,6 +415,8 @@ public class NotificationChildrenContainer extends ViewGroup {
            }
            tmpState.alpha = alpha;
            stateAnimator.startViewAnimations(divider, tmpState, baseDelay, duration);
            // There is no fake shadow to be drawn on the children
            child.setFakeShadowIntensity(0.0f, 0.0f, 0, 0);
        }
    }