Skip to content
Commit a49eca6b authored by Jan Sebechlebsky's avatar Jan Sebechlebsky
Browse files

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
parent bd63b5d9
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