diff --git a/quickstep/src/com/android/quickstep/TouchInteractionService.java b/quickstep/src/com/android/quickstep/TouchInteractionService.java index 46806084f0..a0255ac1b6 100644 --- a/quickstep/src/com/android/quickstep/TouchInteractionService.java +++ b/quickstep/src/com/android/quickstep/TouchInteractionService.java @@ -538,8 +538,8 @@ public class TouchInteractionService extends Service boolean isFreeformActive = (systemUiStateFlags & SYSUI_STATE_FREEFORM_ACTIVE_IN_DESKTOP_MODE) != 0; if (wasFreeformActive != isFreeformActive) { - DesktopVisibilityController controller = mOverviewComponentObserver - .getActivityInterface().getDesktopVisibilityController(); + DesktopVisibilityController controller = + LauncherActivityInterface.INSTANCE.getDesktopVisibilityController(); if (controller != null) { controller.setFreeformTasksVisible(isFreeformActive); }