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

Commit 8bf7084b authored by Selim Cinek's avatar Selim Cinek Committed by android-build-merger
Browse files

Merge "Fixed a bug where children could have fake shadows" into nyc-dev

am: 0f4ab53a

* commit '0f4ab53a':
  Fixed a bug where children could have fake shadows
parents aa83691a 0f4ab53a
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);
        }
    }