mirror of
https://github.com/LawnchairLauncher/lawnchair.git
synced 2026-02-27 15:26:58 +00:00
Skipping QS metrics if activity is not created
Test: presubmit Bug: 177472265 Change-Id: Ic92adbe589736d16ab8687ea761c32919d8c186b
This commit is contained in:
@@ -175,9 +175,12 @@ public class OverviewCommandHelper {
|
||||
return;
|
||||
}
|
||||
|
||||
InteractionJankMonitorWrapper.begin(
|
||||
mActivityInterface.getCreatedActivity().getRootView(),
|
||||
InteractionJankMonitorWrapper.CUJ_QUICK_SWITCH);
|
||||
final T activity = mActivityInterface.getCreatedActivity();
|
||||
if (activity != null) {
|
||||
InteractionJankMonitorWrapper.begin(
|
||||
activity.getRootView(),
|
||||
InteractionJankMonitorWrapper.CUJ_QUICK_SWITCH);
|
||||
}
|
||||
|
||||
// Otherwise, start overview.
|
||||
mListener = mActivityInterface.createActivityInitListener(this::onActivityReady);
|
||||
|
||||
Reference in New Issue
Block a user