Add return animations to Toast search results.

This only applies to targets that already use the Animation library for
launch animations.

Bug: 336719605
Bug: 298089923
Flag: com.android.launcher3.enable_container_return_animations
Flag: com.android.systemui.shared.return_animation_framework_library
Test: tested manually with flag on and off
Change-Id: Ib824e78fa8b1b226b32d23d8325f06b496ba5deb
This commit is contained in:
Luca Zuccarini committed 2024-06-20 10:25:57 +00:00
1 parent f6d91d2d37
commit 52545edb41
4 files changed
+251 -49

No files matched your search

@@ -238,5 +238,12 @@ public class LauncherAnimationRunner extends RemoteAnimationRunnerCompat {
@Override
@UiThread
default void onAnimationCancelled() {}
/**
* Returns whether this animation factory supports a tightly coupled return animation.
*/
default boolean supportsReturnTransition() {
return false;
}
}
}