commit | 3afd63778e401651a7a6fd721d6d795690916ab8 | [log] [tgz] |
---|---|---|
author | John Reck <jreck@google.com> | Mon Jan 30 10:15:48 2017 -0800 |
committer | John Reck <jreck@google.com> | Mon Jan 30 13:29:26 2017 -0800 |
tree | d9b6cf4a86e9f8473f29cab0c60b396194075933 | |
parent | fda076a12ed641d5ab53933c4aac9e8063c580d0 [diff] |
Switch how destroyHardwareResources works destroyHardwareResources will now only force-destroy the specific node it was called on, which are only ever the root nodes. Rely on onRemovedFromTree() to clean up resources for all other nodes. Bug: 34736819 Test: RenderNode.multiTreeValidity passes, manually verified fixes b/34736819 Change-Id: I1c275ad6a98b63bf50f265602f09bffe3e1f169b