Actually set the virtual display output buffer.
Bug: 8316155 Change-Id: Ida1ac47e5a932fdaad3ec862e121cfe55d255699
This commit is contained in:
parent
2ca79399b9
commit
2ba647e9f5
@ -76,7 +76,11 @@ status_t VirtualDisplaySurface::advanceFrame() {
|
||||
if (result != NO_ERROR)
|
||||
return result;
|
||||
|
||||
return mHwc.fbPost(mDisplayId, fence, mAcquiredBuffer);
|
||||
result = mHwc.fbPost(mDisplayId, fence, mAcquiredBuffer);
|
||||
if (result == NO_ERROR) {
|
||||
result = mHwc.setOutputBuffer(mDisplayId, fence, mAcquiredBuffer);
|
||||
}
|
||||
return result;
|
||||
}
|
||||
|
||||
void VirtualDisplaySurface::onFrameCommitted() {
|
||||
|
Loading…
Reference in New Issue
Block a user