Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 1bcf9a90 authored by Ben Lin's avatar Ben Lin
Browse files

DesktopTasksController: Create VisualIndicator w/ Display's Context.

Instead of using the default Context that's injected, use a display
context that's of the current task's.

Bug: 382023296
Test: Build
Flag: com.android.window.flags.enable_bug_fixes_for_secondary_display
Change-Id: I33e0db3a4cd6a0cb42cc33e29b6a5d6e28ff4799
parent a47df282
Loading
Loading
Loading
Loading
+5 −1
Original line number Diff line number Diff line
@@ -2048,7 +2048,11 @@ class DesktopTasksController(
                    syncQueue,
                    taskInfo,
                    displayController,
                    context,
                    if (Flags.enableBugFixesForSecondaryDisplay()) {
                        displayController.getDisplayContext(taskInfo.displayId)
                    } else {
                        context
                    },
                    taskSurface,
                    rootTaskDisplayAreaOrganizer,
                    dragStartState,