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

Skip to content
Commit 6c04f9b6 authored by Riddle Hsu's avatar Riddle Hsu Committed by Xin Li
Browse files

Fix leakage of DisplayContent referenced from TransitionController

Unlike AppTransition which is associated DisplayContent, the
TransitionController is a global instance. So it needs to unregister
the listener when the display is removed.

Bug: 214991741
Test: Start/stop screen recording multiple times (create virtual
      display). The heap dump of system server should not contain
      many DisplayContent instances.
(cherry picked from commit 491914c1)
(cherry picked from commit c3eaf662)
Merged-In: I44e2a794981fc114ada0ce98cd2471adf623d856
Change-Id: I44e2a794981fc114ada0ce98cd2471adf623d856
parent 941c4a4a
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