summaryrefslogtreecommitdiff
path: root/libs/hwui/FrameInfoVisualizer.cpp
diff options
context:
space:
mode:
author William Xiao <wxyz@google.com> 2024-02-01 16:08:38 -0800
committer William Xiao <wxyz@google.com> 2024-02-01 16:16:07 -0800
commit513e18c3722bff3a72b5bc1f29fd8d331b32aff6 (patch)
tree9d970877d17b7416df413181e3c7a78254698a8a /libs/hwui/FrameInfoVisualizer.cpp
parent5a062374f77748a982a9b9745d900a6cd38dd40a (diff)
Fix ScrimControllerTest memory leak
Change I577e352eda47af4a03ffdff2aaa788f6f853238c started attaching the scrim view to collect flows for testing, which didn't happen before. However the view was never detached so the flows never stopped collecting and thus each test class instance was never GCed. This change detaches the view to stop flow collection. See bug for before and after hprofs. Also fixes the same issue in GlanceableHubContainerControllerTest. Bug: 322191262 Fixed: 322191262 Test: atest ScrimControllerTest GlanceableHubContainerControllerTest Flag: N/A Change-Id: I155c38f72d33db82bdd185ba366b11711a01236c
Diffstat (limited to 'libs/hwui/FrameInfoVisualizer.cpp')
0 files changed, 0 insertions, 0 deletions