[1/n] Inherit bounds for same task trampoline launches

If a task trampoline is launching from the same package, and the
orignal instance/task will be closed, inherit the original task bounds
to prevent the application from jumping from different cascading
positions.

Flag: com.android.window.flags.inherit_task_bounds_for_trampoline_task_launches
Test: atest WmTests:DesktopModeLaunchParamsModifierTests,
      atest WMShellUnitTests:DesktopTasksControllerTest
Fixes: 392815318
Bug:391669775

Change-Id: Id7f516b9956d938564300f04f834dcc550930369
7 files changed