diff options
author | Robert Carr <racarr@google.com> | 2018-04-19 12:26:21 -0700 |
---|---|---|
committer | Robert Carr <racarr@google.com> | 2018-04-19 12:26:21 -0700 |
commit | d86fd3e7ac6c1bd472b8ec659ed6f66caaeebd81 (patch) | |
tree | d6380c366fa0f96de8a076d4724138fca1b760f5 /tools/aapt2/java/JavaClassGenerator.cpp | |
parent | a194a6bee36365b7aa2cdf3e86fe26e600ef338b (diff) |
Destroy app-less surfaces when becoming invisible with no animation.
Otherwise there is no later point to destroy them and they linger
around indefinitely. tryStartExitingAnimation seems like a safe point
as we only call this from relayout and the client renderer is paused
at this point, as long as we ensure we don't return a surface (which we won't
since we have laid out to invisible) we should be assured that the client
will not try again to render.
Bug: 77911541
Test: Manual. Docked divider window is destroyed when dismissed.
Change-Id: I2ed37f460a7f258083ab1c196c4e5f7a35e3d557
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator.cpp')
0 files changed, 0 insertions, 0 deletions