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

Commit 503a1b12 authored by Treehugger Robot's avatar Treehugger Robot Committed by Android (Google) Code Review
Browse files

Merge "Use alpha instead of hide() to hide Home task in Recents transition" into main

parents 5bc0c67f aef1f023
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -867,7 +867,7 @@ public class RecentsTransitionHandler implements Transitions.TransitionHandler,
                            // appearing before the animation itself starts.
                            // TODO: b/399160023 remove this when we stop using transition-type
                            //  checks in transition utils.
                            t.hide(target.leash);
                            t.setAlpha(target.leash, 0f);
                        } else {
                            ProtoLog.v(ShellProtoLogGroup.WM_SHELL_RECENTS_TRANSITION,
                                    "  not handling home taskId=%d", taskInfo.taskId);
+1 −1
Original line number Diff line number Diff line
@@ -302,7 +302,7 @@ public class RecentsTransitionHandlerTest extends ShellTestCase {
                mock(Transitions.TransitionFinishCallback.class));
        mMainExecutor.flushAll();

        verify(startT).hide(controller.getLeashMapForTesting().get(homeLeash));
        verify(startT).setAlpha(controller.getLeashMapForTesting().get(homeLeash), 0);
    }

    @Test