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

This commit is contained in:
Adam Cohen authored and Android (Google) Code Review committed 2015-07-16 00:38:11 +00:00
commit 84a62861d6
1 file changed
+2 -4
@@ -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();
}
}