Merge "partial inval" into honeycomb-mr1

This commit is contained in:
Bart Sears
2011-03-16 21:49:09 -07:00
committed by Android (Google) Code Review

View File

@@ -4134,8 +4134,11 @@ public class WebView extends AbsoluteLayout
if (mNativeClass != 0 && nativeEvaluateLayersAnimations()) {
UIAnimationsRunning = true;
// If we have unfinished (or unstarted) animations,
// we ask for a repaint.
invalidate();
// we ask for a repaint. We only need to do this in software
// rendering (with hardware rendering we already have a different
// method of requesting a repaint)
if (!canvas.isHardwareAccelerated())
invalidate();
}
// decide which adornments to draw