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

Skip to content
Commit 670412c1 authored by Lucas Silva's avatar Lucas Silva
Browse files

Update dream state controller to hold weak ref to callbacks.

This avoids memory leaks caused by callers of this state controller not
properly removing callbacks.

This change also creates a WeakReferenceFactory util so that weak
references may be cleared in tests.

Bug: 309396474
Flag: NONE
Test: atest DreamOverlayStateControllerTest
Change-Id: If8f3331a8d943d18bb305c73c8bc29f4777cb97a
parent 3129fc5b
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