diff options
author | Riddle Hsu <riddlehsu@google.com> | 2022-01-18 15:40:25 +0800 |
---|---|---|
committer | Android Build Coastguard Worker <android-build-coastguard-worker@google.com> | 2022-01-20 00:46:22 +0000 |
commit | c3eaf662257919343210b96f5d5aef161df0723e (patch) | |
tree | 94dbbb1779ba99164a220fa8aaa3527149822aa7 /tests/DynamicCodeLoggerIntegrationTests/src/cpp/test_executable.cpp | |
parent | 10925e6bf5ef9d4ba54102c5b915f0ab99f809eb (diff) |
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.
Change-Id: I44e2a794981fc114ada0ce98cd2471adf623d856
(cherry picked from commit 491914c17c869a174f91d0414181d1be11e040a3)
Merged-In:I44e2a794981fc114ada0ce98cd2471adf623d856
Diffstat (limited to 'tests/DynamicCodeLoggerIntegrationTests/src/cpp/test_executable.cpp')
0 files changed, 0 insertions, 0 deletions