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

Skip to content
Commit 25072469 authored by Rachit Jain's avatar Rachit Jain
Browse files

Prevent TaskView's task from getting trimmed by Recents

- When moveTaskToFront() is called with the flag MOVE_TASK_WITH_HOME,
  recents trims the embedded task.
- Send a WindowContainerTransaction to make taskview's task as non-trimmable.
- TaskView's should manage the embedded task.
- Remove setInterceptBackPressedOnTaskRoot() from
  handleAndNotifyTaskRemoval() since it results in a no-op when the task
is being removed. Removed corresponding tests.

Bug: 358682563
Flag: EXEMPT (bug fix)
Test: open app grid, adb shell input keyevent KEYCODE_BACK, verify if embedded task opens
Test: atest CtsWindowManagerDeviceMultiDisplay:android.server.wm.multidisplay.MultiDisplayClientTests TaskViewTest
Change-Id: Ie07eab84293e0694fa6d2c07f056932c08ddff08
parent cf3cd4f6
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment