commit | 54e362121fbd12d738430c1dea4a63a363468d9c | [log] [tgz] |
---|---|---|
author | Adam Cohen <adamcohen@google.com> | Wed Jul 15 17:34:42 2015 -0700 |
committer | Adam Cohen <adamcohen@google.com> | Wed Jul 15 17:35:56 2015 -0700 |
tree | 46e920f705d596a2b08be69c9bfec3fa3cd31656 | |
parent | 76648c58d5fe8e5c0695f865243d3f421c53a84d [diff] |
Fix issue with UiThreadReveal on L devices issue 22507784 Change-Id: If75292b21a1b572903099ab0682d5c7f69a960f4
diff --git a/src/com/android/launcher3/util/UiThreadCircularReveal.java b/src/com/android/launcher3/util/UiThreadCircularReveal.java index c8e1df2..3ca3aee 100644 --- a/src/com/android/launcher3/util/UiThreadCircularReveal.java +++ b/src/com/android/launcher3/util/UiThreadCircularReveal.java
@@ -46,10 +46,8 @@ 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(); } }