diff options
| author | 2023-03-10 15:02:56 +0100 | |
|---|---|---|
| committer | 2023-03-30 11:23:33 +0200 | |
| commit | a49eca6bc23b78827faf1e98c940f8560dd8dd36 (patch) | |
| tree | 6937b1e354899ec52a7776aff422e1713ec4fd21 /libs/androidfw/ApkParsing.cpp | |
| parent | bd63b5d97c8c5c08c423078b7d1b55f069ff3b0c (diff) | |
Use WeakReference-s to cache Display instances in DisplayManager.
To prevent leaking stale Display instances of destroyed virtual
displays.
Bug: 273242347
Test: atest CtsDisplayTestCases
Test: verified cache contents in heapdump
Change-Id: I9547df68719b9fc1631c5d085e600b414888ba8a
Diffstat (limited to 'libs/androidfw/ApkParsing.cpp')
0 files changed, 0 insertions, 0 deletions