diff options
author | Robert Carr <racarr@google.com> | 2020-06-19 13:08:22 -0700 |
---|---|---|
committer | Robert Carr <racarr@google.com> | 2020-06-19 13:10:13 -0700 |
commit | 5409e24105ba32dc524a78b9be3d0f2d3beef69a (patch) | |
tree | 351984f4af4668ad9e523359d42238e3326248c5 /tools/aapt2/java/JavaClassGenerator.cpp | |
parent | 55c4e431698375b49f46ae499b8872a4b0d570a7 (diff) |
SurfaceControlViewHost: Call doDie with true
If we pass immediate=false to the doDie without
updating the visibility, we may destroy the hardware renderer
but then try to draw again anyway, and then crash. It seems
theres no reason we can't call immediate=true and
properly shut down immediately.
Bug: 159250432
Test: Existing tests pass
Change-Id: Ibc6be8901be10c0985681d83f4ce16dd1ab54925
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator.cpp')
0 files changed, 0 insertions, 0 deletions