diff options
| author | 2023-07-14 10:31:41 +0100 | |
|---|---|---|
| committer | 2023-07-20 09:46:50 +0100 | |
| commit | 1dde493feac0e216cf5ae83c8a13054f2abc0ffa (patch) | |
| tree | 851ee59835bd25588fc231ca276b231da4b1cdbe /libs/androidfw/ObbFile.cpp | |
| parent | fe395a0ec7fdaad7fe3a4f5644639b53b6d53323 (diff) | |
PSS: Fix MediaProjectionTaskView leaking in KeyguardController
TaskPreviewSizeProvider was registering itself as a configuration
changes listener when created, and never unregistering itself again.
Since a new one is created every time the app chooser is created,
it would create a new leak every time.
The class indirectly references MediaProjectionTaskView, which itself
holds onto large Bitmaps, which can make the leak costly.
Bug: 290754514
Test: Manually - Took heap dump before and after the fix
Test: TaskPreviewSizeProviderTest
Change-Id: Id03d9b3b5a94193f0e5d75a6ff602dd74b45f40c
Diffstat (limited to 'libs/androidfw/ObbFile.cpp')
0 files changed, 0 insertions, 0 deletions