Update StatusBarTouchController to work on external display

Dragging on launcher background on external display didn't do anything
because there was no StatusBarTouchController. Now by adding it to
SecondaryDragLayer, we can open the shade on external display via
launcher drag

Bug: 362719719
Bug: 416511740
Test: manual testing
Flag: EXEMPT refactor only
Change-Id: I1a587fe85bf2e7c6f212b3358646d5d282019eef
This commit is contained in:
Daniel Akinola
2025-05-13 13:26:41 -07:00
parent 43841027b0
commit 6efff5eeac
5 changed files with 48 additions and 8 deletions
@@ -706,7 +706,8 @@ public class QuickstepLauncher extends Launcher implements RecentsViewContainer,
}
if (!getDeviceProfile().isMultiWindowMode) {
list.add(new StatusBarTouchController(this));
list.add(new StatusBarTouchController(
this, () -> this.isInState(LauncherState.NORMAL)));
}
if (enableExpressiveDismissTaskMotion()) {