mirror of
https://github.com/LawnchairLauncher/lawnchair.git
synced 2026-03-04 18:06:48 +00:00
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:
@@ -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;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user