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

Commit 5b97b40e authored by vadimt's avatar vadimt
Browse files

Skipping QS metrics if activity is not created

Test: presubmit
Bug: 177472265
Change-Id: Ic92adbe589736d16ab8687ea761c32919d8c186b
parent 43182892
Loading
Loading
Loading
Loading
+6 −3
Original line number Diff line number Diff line
@@ -175,9 +175,12 @@ public class OverviewCommandHelper {
                return;
            }

            final T activity = mActivityInterface.getCreatedActivity();
            if (activity != null) {
                InteractionJankMonitorWrapper.begin(
                    mActivityInterface.getCreatedActivity().getRootView(),
                        activity.getRootView(),
                        InteractionJankMonitorWrapper.CUJ_QUICK_SWITCH);
            }

            // Otherwise, start overview.
            mListener = mActivityInterface.createActivityInitListener(this::onActivityReady);