Merge "Fix issue with UiThreadReveal on L devices" into ub-launcher3-burnaby

This commit is contained in:
Adam Cohen
2015-07-16 00:38:10 +00:00
committed by Android (Google) Code Review
@@ -46,10 +46,8 @@ public class UiThreadCircularReveal {
public void onAnimationUpdate(ValueAnimator arg0) {
float progress = arg0.getAnimatedFraction();
outlineProvider.setProgress(progress);
if (Utilities.isLmpMR1OrAbove()) {
revealView.invalidateOutline();
} else {
// On L, a bug requires calling a full view invalidate.
revealView.invalidateOutline();
if (!Utilities.isLmpMR1OrAbove()) {
revealView.invalidate();
}
}