commit | c24078f1a2500dd7227b8be556999968ba51c24b | [log] [tgz] |
---|---|---|
author | Robert Carr <racarr@google.com> | Thu Aug 11 13:03:02 2016 -0700 |
committer | Robert Carr <racarr@google.com> | Thu Aug 11 13:03:02 2016 -0700 |
tree | a1e224f31724830ab608be934830e617c26fbe6a | |
parent | ff38f6a699184102500b7c0c7a33b310cc4d8e38 [diff] |
Fix NPE in deferToPendingTransaction. Just because a child window has a surface doesn't necessarily mean the parent window will have a surface. destroySurfaceLocked() only takes care of setting mAttachedHidden so the child surface will be invisible, but it may not be destroyed until a later point. Bug: 30813094 Change-Id: Idb1b03fd61a7537ebfe33bafc93f278c0e6751f4