diff options
author | Benny Wong <Benny.Wong@motorola.com> | 2009-09-16 14:48:52 -0500 |
---|---|---|
committer | James Dong <jdong@google.com> | 2009-09-16 20:24:21 -0700 |
commit | 5643261a2580172ff2a01b9157f61c2c016f7062 (patch) | |
tree | 18f7cf9acee40676562b1da3fa548e5752a5d93e /libs/surfaceflinger/LayerBuffer.cpp | |
parent | 6df9d107a6234c028742209a4486862533ca75ae (diff) | |
download | frameworks_native-5643261a2580172ff2a01b9157f61c2c016f7062.zip frameworks_native-5643261a2580172ff2a01b9157f61c2c016f7062.tar.gz frameworks_native-5643261a2580172ff2a01b9157f61c2c016f7062.tar.bz2 |
Overlay could not set position or rotation immediately after created, it should be triggered by signalEvent().
Originally from: https://partner.source.android.com/g/#change,1074
Diffstat (limited to 'libs/surfaceflinger/LayerBuffer.cpp')
-rw-r--r-- | libs/surfaceflinger/LayerBuffer.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/libs/surfaceflinger/LayerBuffer.cpp b/libs/surfaceflinger/LayerBuffer.cpp index 38a897d..667571b 100644 --- a/libs/surfaceflinger/LayerBuffer.cpp +++ b/libs/surfaceflinger/LayerBuffer.cpp @@ -595,6 +595,7 @@ LayerBuffer::OverlaySource::OverlaySource(LayerBuffer& layer, *overlayRef = new OverlayRef(mOverlayHandle, channel, mWidth, mHeight, mFormat, mWidthStride, mHeightStride); + mLayer.mFlinger->signalEvent(); } LayerBuffer::OverlaySource::~OverlaySource() |