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

Commit 36dfc863 authored by Selim Cinek's avatar Selim Cinek
Browse files

Fixed a leak with TransformStates

The states were still referencing the TransformInfo even
when reset, which was leaking the Row.

Test: create notification with progress, remove it, observe no leak
Change-Id: I34750ef5def2adcda02661bcbf37c4c63f52406a
Fixes: 79184192
parent 150bafd2
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -530,6 +530,7 @@ public class TransformState {

    protected void reset() {
        mTransformedView = null;
        mTransformInfo = null;
        mSameAsAny = false;
        mTransformationEndX = UNDEFINED;
        mTransformationEndY = UNDEFINED;