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

Skip to content
Commit 40750098 authored by Louis Chang's avatar Louis Chang
Browse files

Use the display of existing task as preferred

While reparenting a task to an external freeform display,
the task was moving back on default display because of
no preferred display information specified - option and
source are null for #getPreferredLaunchDisplay - while
laying out the task.

For example, opening Chrome on a secondary freefrom display
will only bring back Chrome on default display.

So, we use the display where the task was on as the preferred
display when nothing specified.

Bug: 118354537
Test: verified by following the reproduce steps in comment#1
      atest TaskLaunchParamsModifierTests

Change-Id: I6d7a9e2d53a69bd2675dbab812a9e1a7791b1342
parent 0215e993
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment