diff options
author | Dianne Hackborn <hackbod@google.com> | 2010-07-14 17:04:58 -0700 |
---|---|---|
committer | Jean-Baptiste Queru <jbq@google.com> | 2010-07-14 17:09:47 -0700 |
commit | 71ecab2d89122535a8bb1f589bc8d920aaedaa7c (patch) | |
tree | e3c1b8b31f9f8b5b05bbe19158efec46a8606400 /core/java | |
parent | 4b85590f8d021e338248623b641b4867329e2834 (diff) | |
download | frameworks_base-71ecab2d89122535a8bb1f589bc8d920aaedaa7c.zip frameworks_base-71ecab2d89122535a8bb1f589bc8d920aaedaa7c.tar.gz frameworks_base-71ecab2d89122535a8bb1f589bc8d920aaedaa7c.tar.bz2 |
Argh oops I didn't mean to delete this.
Change-Id: I8910eb8b6e898b77ee6fc63420d6954b496513ca
Diffstat (limited to 'core/java')
-rw-r--r-- | core/java/android/view/SurfaceView.java | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/core/java/android/view/SurfaceView.java b/core/java/android/view/SurfaceView.java index c469bcc..54cb4ca 100644 --- a/core/java/android/view/SurfaceView.java +++ b/core/java/android/view/SurfaceView.java @@ -543,6 +543,9 @@ public class SurfaceView extends View { } if (creating || formatChanged || sizeChanged || visibleChanged || realSizeChanged) { + for (SurfaceHolder.Callback c : callbacks) { + c.surfaceChanged(mSurfaceHolder, mFormat, myWidth, myHeight); + } } if (redrawNeeded) { for (SurfaceHolder.Callback c : callbacks) { |