Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit 513e18c3 authored by William Xiao's avatar William Xiao
Browse files

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
parent 5a062374
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment