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

Skip to content
Commit 1ee5d0f7 authored by Luca Zuccarini's avatar Luca Zuccarini
Browse files

Ensure that transitions are unregistered when the launchable is detached.

Ephemeral return animations are registered as remote transitions, and
unregistered after they run once. But if they're never run they risk
leaking, so we unregister them once the view they use is detached or the
composable is not being composed anymore.

This will help with usages of the library outside of Launcher (and maybe
Launcher itself in the future).

Bug: 339194555
Flag: com.android.systemui.shared.return_animation_framework_library
Test: manual
Change-Id: I28011978589e2dd840326539d79dfd0e09246e13
parent 9c9fefec
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