commit | 13f7be9e0424266be4bf3b5c8c7fdc161e4fe091 | [log] [tgz] |
---|---|---|
author | Robert Carr <racarr@google.com> | Wed Dec 02 18:39:45 2015 -0800 |
committer | Robert Carr <racarr@google.com> | Mon Dec 07 11:20:35 2015 -0800 |
tree | ddd4f9bf6be614acd2a50b0313faeecd63510fe9 | |
parent | 28be2bdbe40e39b22d4acc882506081afa3dcf5d [diff] |
Move surface save state tracking to WindowState. In the current set up, surface saving is managed by the app window token. So when destroySavedSurfaces is called, all saved surfaces assosciated with a given app will be destroyed. This causes pretty weird behavior where hiding child windows can destroy the parent window. We move this tracking to WindowState and allow child windows to exempt themselves. Bug: 25780116 Change-Id: I3ab92221d83297092dfd98a71e6a5fe96381de8b