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

Commit 32f55bf0 authored by Kevin's avatar Kevin
Browse files

Set "usingRemoteAnim" for fallback recents

Ensure fallback recents uses the correct layout animation by hooking
into usingRemoteAnim API.

Bug: 132112131
Test: Manual test
Change-Id: I9bb96dbf436018e5488ede0c5ca48af787180aec
parent 0f07b874
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -45,12 +45,12 @@ public final class FallbackActivityControllerHelper extends
    @Override
    public AnimationFactory prepareRecentsUI(RecentsActivity activity, boolean activityVisible,
            boolean animateActivity, Consumer<AnimatorPlaybackController> callback) {
        // TODO: Logic for setting remote animation
        if (activityVisible) {
            return (transitionLength) -> { };
        }

        IconRecentsView rv = activity.getOverviewPanel();
        rv.setUsingRemoteAnimation(true);
        rv.setAlpha(0);

        return new AnimationFactory() {