We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 5fd141c + 3a23212 commit da42e0fCopy full SHA for da42e0f
services/surfaceflinger/Layer.cpp
@@ -371,11 +371,12 @@ uint32_t Layer::doTransaction(uint32_t flags)
371
Layer::State& editDraw(mDrawingState);
372
editDraw.requested_w = temp.requested_w;
373
editDraw.requested_h = temp.requested_h;
374
-
375
- // record the new size, form this point on, when the client request
376
- // a buffer, it'll get the new size.
377
- mSurfaceTexture->setDefaultBufferSize(temp.requested_w, temp.requested_h);
378
}
+
+ // record the new size, form this point on, when the client request
+ // a buffer, it'll get the new size.
+ mSurfaceTexture->setDefaultBufferSize(temp.requested_w,
379
+ temp.requested_h);
380
381
382
if (temp.sequence != front.sequence) {
0 commit comments