Merge "Better null handling for OverviewComponentObserver.getContainerInterface" into main

This commit is contained in:
Treehugger Robot
2025-05-13 05:26:16 -07:00
committed by Android (Google) Code Review
24 changed files with 137 additions and 111 deletions
@@ -175,6 +175,7 @@ import com.android.launcher3.util.StableViewInfo;
import com.android.launcher3.util.StartActivityParams;
import com.android.launcher3.util.TouchController;
import com.android.launcher3.views.FloatingIconView;
import com.android.quickstep.LauncherActivityInterface;
import com.android.quickstep.OverviewCommandHelper;
import com.android.quickstep.OverviewComponentObserver;
import com.android.quickstep.OverviewComponentObserver.OverviewChangeListener;
@@ -306,7 +307,7 @@ public class QuickstepLauncher extends Launcher implements RecentsViewContainer,
super.setupViews();
mActionsView = findViewById(R.id.overview_actions_view);
RecentsView<?,?> overviewPanel = getOverviewPanel();
RecentsView<?, LauncherState> overviewPanel = getOverviewPanel();
SystemUiProxy systemUiProxy = SystemUiProxy.INSTANCE.get(this);
mSplitSelectStateController =
new SplitSelectStateController(this, getStateManager(),
@@ -1586,4 +1587,9 @@ public class QuickstepLauncher extends Launcher implements RecentsViewContainer,
return isOverviewBackgroundBlurEnabled() ? R.style.OverviewBlurStyle
: R.style.OverviewBlurFallbackStyle;
}
@Override
public LauncherActivityInterface getContainerInterface() {
return LauncherActivityInterface.INSTANCE;
}
}