commit | 8ea97bbe9b5097feaa76926c6ac49120e0fc3649 | [log] [tgz] |
---|---|---|
author | chaviw <chaviw@google.com> | Wed Nov 29 10:05:15 2017 -0800 |
committer | chaviw <chaviw@google.com> | Wed Nov 29 10:07:37 2017 -0800 |
tree | 67ebb78db505c7d5eaac7c3b0f01204ea702dc46 | |
parent | 503b79e3db0d6dce40ea0a8e17bbffd6f6176123 [diff] |
Remove from top layer list if re-parenting top layer. If a layer is given a parent when it originally didn't have one, remove the layer from the top layer list. This is to ensure the layer isn't in duplicate places and that it can get properly cleaned up. Test: Transaction_test#ReparentFromNoParent successfully removes layer when test completes. Change-Id: I1f1c4ee386626c1ef2e3a2e50324ec336d234d5b