Fixed a bug where children could have fake shadows

Bug: 24866646
Change-Id: I2a6e7749a16eb62480abbb49b5f600af1e8c327a
This commit is contained in:
Selim Cinek
2016-03-17 19:39:00 -07:00
parent 23c80348d2
commit d9a3f8f0f1

View File

@@ -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);
}
}