am e38212a2: 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
Merge commit 'e38212a22f900468cc4a888b896bee99e1c29a1d' into eclair-plus-aosp * commit 'e38212a22f900468cc4a888b896bee99e1c29a1d': Overlay could not set position or rotation immediately after created, it should be triggered by signalEvent().
This commit is contained in:
@@ -595,6 +595,7 @@ LayerBuffer::OverlaySource::OverlaySource(LayerBuffer& layer,
|
|||||||
|
|
||||||
*overlayRef = new OverlayRef(mOverlayHandle, channel,
|
*overlayRef = new OverlayRef(mOverlayHandle, channel,
|
||||||
mWidth, mHeight, mFormat, mWidthStride, mHeightStride);
|
mWidth, mHeight, mFormat, mWidthStride, mHeightStride);
|
||||||
|
mLayer.mFlinger->signalEvent();
|
||||||
}
|
}
|
||||||
|
|
||||||
LayerBuffer::OverlaySource::~OverlaySource()
|
LayerBuffer::OverlaySource::~OverlaySource()
|
||||||
|
|||||||
Reference in New Issue
Block a user