diff options
author | Vishnu Nair <vishnun@google.com> | 2020-07-08 12:44:47 -0700 |
---|---|---|
committer | Vishnu Nair <vishnun@google.com> | 2020-07-08 12:44:47 -0700 |
commit | 019e08fdbb8c92625d8818551b1ba124c028cebc (patch) | |
tree | 970a4a8b321a0a9b9a88f0cbf2dfff7753de1660 /startop/scripts/lib/cmd_utils.py | |
parent | 29d2bf129a8e7647bf1c9bb65bea0536c7d9866b (diff) |
ViewRootImpl: Call surface destroy callback after layout pass
If a requestLayout happens on a child view after the measure
pass, before the layout pass then the child view will not layout.
This can happen if a view calls requestLayout during measure
or during SurfaceView surface destroyed callback.
This fix addresses the second scenario by moving the callback
to after the layout pass.
Bug: 159183008
Test: Repro steps in bug
Test: go/wm-smoke
Change-Id: Ie2794a3751c99cabf6e07445c91159e35eeb1729
Diffstat (limited to 'startop/scripts/lib/cmd_utils.py')
0 files changed, 0 insertions, 0 deletions