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

Commit 322dd1f6 authored by Jernej Virag's avatar Jernej Virag
Browse files

Fix memory leak in shade service list dialog

RecyclerView adapters hold reference to RVs they were added in. Since we
reuse the adapter, we leak the whole RV view hiearchy on every dialog
open. Clear the adapter on dialog close which also clears the references
in RV#setAdapterInternal.

Bug: 424097770
Test: tested on Panther, ran tests
Flag: EXEMPT bugfix
Change-Id: I124fe6a333c7bb4a63cb06592faa08814562316e
parent 31bfbdb4
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