commit | 717122228e424a4fcf5cb5823d554b8d1579c8c2 | [log] [tgz] |
---|---|---|
author | Bryce Lee <brycelee@google.com> | Tue Aug 20 23:17:35 2024 +0000 |
committer | Bryce Lee <brycelee@google.com> | Fri Aug 23 14:22:20 2024 -0700 |
tree | a4ad246d157c4593faa02c41e630782dd3e85761 | |
parent | 0d12496f444fbe9b826ca83f4aeaac9531166d5f [diff] |
Reapply "Fix DreamOverlayService memory leaks." This changelist re-introduces fixes to address memory leaks in DreamOverlayService by making sure components are not reused between dream instances to prevent torn down components from being used again. To address this, the components are recreated from the passed in factories. Test: atest DreamOverlayService#testComponentsRecreatedBetweenDreams Bug: 361085016 Flag: EXEMPT bugfix Change-Id: I46bb1596057a7b7bb9fde41dfeed6b64786feb91