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

* commit '247820c0a756413986643a0ed9a8d446afc747ee':
  partial inval
This commit is contained in:
Bart Sears
2011-03-16 21:52:23 -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