Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit 8ac907f2 authored by Bryce Lee's avatar Bryce Lee
Browse files

Use a WeakReferences in DreamServiceWrapper and DreamActivityCallbacks.

The DreamServiceWrapper and DreamActivityCallbacks are  handed across
process during onBind. As a result, it should not reference the parent
class as this will lead to a memory leak. This changelist wraps the
parent in a WeakReference to resolve this.

Test: manual. monitored heap usage and verified no leak
Bug: 360088321
Flag: EXEMPT bugfix
Change-Id: I99bde447a8844b9d15c1908139b987d097e233d3
parent 7477c179
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment