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

Commit 0e180ac0 authored by Selim Cinek's avatar Selim Cinek
Browse files

Fixed a memory leak

A list keeping around notifications weren't cleared properly.

Test: atest SystemUITests
Fixes: 128249765
Change-Id: I5cd61aa9fab27df28f83587e00ad0aac6e3fc25a
parent 15af9769
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -163,6 +163,7 @@ class NotificationWakeUpCoordinator @Inject constructor(
    private fun handleAnimationFinished() {
        if (mLinearDozeAmount == 0.0f || mLinearVisibilityAmount == 0.0f) {
            mEntrySetToClearWhenFinished.forEach { it.setAmbientGoingAway(false) }
            mEntrySetToClearWhenFinished.clear()
        }
    }