diff options
author | Romain Guy <romainguy@google.com> | 2010-10-11 12:41:21 -0700 |
---|---|---|
committer | Romain Guy <romainguy@google.com> | 2010-10-11 12:41:21 -0700 |
commit | 101e2ae00c478e13f34c81db05a9a921ad637571 (patch) | |
tree | cacf67e5c12558d7c9123b15db2f15782d2d2581 | |
parent | ec17ab33542d0962f043155d9271a9c8b725497a (diff) | |
download | frameworks_base-101e2ae00c478e13f34c81db05a9a921ad637571.zip frameworks_base-101e2ae00c478e13f34c81db05a9a921ad637571.tar.gz frameworks_base-101e2ae00c478e13f34c81db05a9a921ad637571.tar.bz2 |
Redraw the screen when needed.
Bug #3085265
Change-Id: Ibb47500f819b823eb4f3dee829f0396dce9a3d65
-rw-r--r-- | core/java/android/view/ViewRoot.java | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/core/java/android/view/ViewRoot.java b/core/java/android/view/ViewRoot.java index cce860b..7907ad2 100644 --- a/core/java/android/view/ViewRoot.java +++ b/core/java/android/view/ViewRoot.java @@ -1281,8 +1281,9 @@ public final class ViewRoot extends Handler implements ViewParent, View.AttachIn if (mAttachInfo.mHardwareRenderer != null && mAttachInfo.mHardwareRenderer.isEnabled()) { if (!dirty.isEmpty() || mIsAnimating) { - mAttachInfo.mHardwareRenderer.draw(mView, mAttachInfo, yoff); + mIsAnimating = false; dirty.setEmpty(); + mAttachInfo.mHardwareRenderer.draw(mView, mAttachInfo, yoff); } if (scrolling) { |