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

This commit is contained in:
Selim Cinek
2016-03-22 17:54:34 +00:00
committed by Android (Google) Code Review

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