Merge "Move DesktopVisibilityController to TouchInteractionService" into main

This commit is contained in:
Treehugger Robot authored and Android (Google) Code Review committed 2024-09-12 02:32:00 +00:00
commit 206e15b286
30 files changed
+314 -229

No files matched your search

@@ -48,7 +48,6 @@ import com.android.launcher3.anim.AnimatorListeners;
import com.android.launcher3.config.FeatureFlags;
import com.android.launcher3.statemanager.StateManager;
import com.android.launcher3.uioverrides.QuickstepLauncher;
import com.android.launcher3.util.DisplayController;
import com.android.launcher3.util.MultiPropertyFactory.MultiProperty;
import com.android.quickstep.RecentsAnimationCallbacks;
import com.android.quickstep.RecentsAnimationController;
@@ -593,7 +592,8 @@ public class TaskbarLauncherStateController {
float cornerRoundness = isInLauncher ? 0 : 1;
if (DisplayController.isInDesktopMode(mLauncher) && mControllers.getSharedState() != null) {
if (mControllers.taskbarDesktopModeController.getAreDesktopTasksVisible()
&& mControllers.getSharedState() != null) {
cornerRoundness =
mControllers.taskbarDesktopModeController.getTaskbarCornerRoundness(
mControllers.getSharedState().showCornerRadiusInDesktopMode);