summaryrefslogtreecommitdiff
path: root/libs/hwui/PathCache.cpp
diff options
context:
space:
mode:
author Chet Haase <chet@google.com> 2015-05-05 16:43:24 -0700
committer Chet Haase <chet@google.com> 2015-05-05 20:57:58 -0700
commit0698594d478926ab4694ac0f8429847bad2ceedb (patch)
treeb8c11c2df32ffa4d08faa06d16753cec4b4cda49 /libs/hwui/PathCache.cpp
parentd4474cb9454c7a8b907c0be07236ffed4ecf3fd8 (diff)
Fix leak in LayoutTransition
Previously, an OnPreDrawListener was added to clean things up, including removing the listener, after animations are started. But if the view is detached before that listener is called, the listener will remain on that ViewTreeObserver. This change adds an OnAttachStateChangeListener to perform that cleanup step when the view is detached, just in case. Issue #20824645 Leak in LayoutTransition Change-Id: I264812f8e02dda673789712ba83d208e87cdc5a4
Diffstat (limited to 'libs/hwui/PathCache.cpp')
0 files changed, 0 insertions, 0 deletions