am 8e42d39f: Merge "partial inval" into honeycomb-mr1

* commit '8e42d39f0b1c2a60ab9c2f88cd3835ef8ae690ed':
  partial inval
This commit is contained in:
Bart Sears
2011-03-16 21:50:52 -07:00
committed by Android Git Automerger

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