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
This commit is contained in:
Benny Wong
2009-09-16 14:48:52 -05:00
committed by James Dong
parent a6aca3e094
commit e38212a22f

View File

@@ -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()