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
Loading
Please register or sign in to comment