am 84a62861: Merge "Fix issue with UiThreadReveal on L devices" into ub-launcher3-burnaby
* commit '84a62861d6ba91f3b0822d6da0c1c7eedf9b3f0e': Fix issue with UiThreadReveal on L devices
This commit is contained in:
@@ -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();
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user