diff options
| author | Romain Guy <romainguy@google.com> | 2011-01-27 15:43:03 -0800 |
|---|---|---|
| committer | Android Git Automerger <android-git-automerger@android.com> | 2011-01-27 15:43:03 -0800 |
| commit | 01a5812902668d0dbba51cd0efe22bfba3711230 (patch) | |
| tree | 75a62df696da0831550ecf36d82759e4f5080d59 /core/java/android/view/ViewRoot.java | |
| parent | f454cee04456acf74871b02033e6972f71919e55 (diff) | |
| parent | 0250bc2faca14a332155b9111e0ee5dfc8493d6a (diff) | |
am 0250bc2f: Merge "Catch exception when ViewRoot\'s surface is not valid. Bug #3399426" into honeycomb
* commit '0250bc2faca14a332155b9111e0ee5dfc8493d6a':
Catch exception when ViewRoot's surface is not valid. Bug #3399426
Diffstat (limited to 'core/java/android/view/ViewRoot.java')
| -rw-r--r-- | core/java/android/view/ViewRoot.java | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/core/java/android/view/ViewRoot.java b/core/java/android/view/ViewRoot.java index 41fc6c6e33d0..b21af410b306 100644 --- a/core/java/android/view/ViewRoot.java +++ b/core/java/android/view/ViewRoot.java @@ -1537,6 +1537,7 @@ public final class ViewRoot extends Handler implements ViewParent, int top = dirty.top; int right = dirty.right; int bottom = dirty.bottom; + canvas = surface.lockCanvas(dirty); if (left != dirty.left || top != dirty.top || right != dirty.right || |
