commit | f58631a6a265a12a64a5c697178e0f4784f562ac | [log] [tgz] |
---|---|---|
author | Chong Zhang <chz@google.com> | Tue May 24 16:02:10 2016 -0700 |
committer | Chong Zhang <chz@google.com> | Tue May 24 16:28:25 2016 -0700 |
tree | 58397127824fdfee52e567c032c3ace83b06776e | |
parent | b143e3de34ab98463a641fd6d67165fce878f1ff [diff] |
Destroy saved surfaces if one of the last visible windows gets removed Also, if by the time the app is closing, a window is still invisible in layout (or is already removed), mark the window as mAnimatingExit, so that the surface is destroyed (or saved again). If it's marked for removal, the window gets removed as well. bug: 28913302 Change-Id: Ifa3dc0742f9c8c09d741fd64dcdc01b49075628c