diff options
author | Lucas Dupin <dupin@google.com> | 2021-11-01 20:35:33 -0700 |
---|---|---|
committer | Lucas Dupin <dupin@google.com> | 2021-11-01 20:38:45 -0700 |
commit | 27b2190cd66f33b4d0ee3531c3fd0d4eba4919cd (patch) | |
tree | 71de3ac7f484b811077f1252fad39dacc90a7c8e /libs/hwui/renderthread/RenderEffectCapabilityQuery.cpp | |
parent | 6665ad79a36984763110a0d4a0a21e24845368f5 (diff) |
Only call layout during layout pass
In other cases, let's just adjust the bounds, otherwise we'll conflict
with the measuring pass, causing the width to be 0 after screen
rotations.
Test: manual
Fixes: 204497727
Change-Id: I759f084577814ff1a4372f1d90cd05ce73604950
Diffstat (limited to 'libs/hwui/renderthread/RenderEffectCapabilityQuery.cpp')
0 files changed, 0 insertions, 0 deletions