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

Commit db248cf9 authored by Vinit Nayak's avatar Vinit Nayak
Browse files

Move ending CUJ_SPLIT_SCREEN_ENTER to after we show tasks to user

* Previously the CUJ was ending after only the launcher side
animation was completing, before we actually made the
call into shell to launch the tasks

Test: Compiles (no baseline to test metrics/latency off of)
Bug: 285578568
Change-Id: I958e4a5265cb2fd81f2358343846385058b4465a
parent 1dcfdc3b
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -4794,8 +4794,9 @@ public abstract class RecentsView<ACTIVITY_TYPE extends StatefulActivity<STATE_T
                        } else {
                            resetFromSplitSelectionState();
                        }
                        InteractionJankMonitorWrapper.end(
                                InteractionJankMonitorWrapper.CUJ_SPLIT_SCREEN_ENTER);
                    });
            InteractionJankMonitorWrapper.end(InteractionJankMonitorWrapper.CUJ_SPLIT_SCREEN_ENTER);
        });

        mSecondSplitHiddenView = containerTaskView;