commit | eb66557eeb923cf33a4c2e133776ab8cbc9aa571 | [log] [tgz] |
---|---|---|
author | Chong Zhang <chz@google.com> | Mon May 09 18:28:27 2016 -0700 |
committer | Chong Zhang <chz@google.com> | Mon May 09 19:26:52 2016 -0700 |
tree | 5f2cad0a8c1a05c4204f8a96676f2f01d39c4b44 | |
parent | 3b25fd081d6af21b16ab4b96ead70766b3d78d06 [diff] |
Make sure preserved surface is removed when it's no longer needed Preserved surface might be used for format change as well as surface size change outside a drag resizing. We currently remove the preserved surface in prepareSurfaceLocked() after the window is shown, but sometimes app gets stopped before any animation pass is run. bug: 28546172 Change-Id: I7f883f4b5c6da4dce70f94173b368a912056d062