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

Commit c228dbd2 authored by Alex Chau's avatar Alex Chau
Browse files

Reset RecentsView when detached from window

- onDetachedFromWindow is a sign RecentsView or even activity will be destroyed, if we don't reset RecentsAnimationController will be stuck without finsihing, causing live tile to be stuck on screen

Bug: 339747262
Test: Swithcing apps (recents button, quick switch, OVerview) from Maps driving mode, live tile not stuck
Flag: EXEMPT bugfix
Change-Id: I990cfe0fc814c9125dbfbaf8a298f1b871e0194e
parent ebcd2e5c
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -1141,6 +1141,7 @@ public abstract class RecentsView<CONTAINER_TYPE extends Context & RecentsViewCo
        if (FeatureFlags.enableSplitContextually()) {
            mSplitSelectStateController.unregisterSplitListener(mSplitSelectionListener);
        }
        reset();
    }

    @Override