summaryrefslogtreecommitdiff
path: root/libs/androidfw/AttributeResolution.cpp
diff options
context:
space:
mode:
author Rachit Jain <jainrachit@google.com> 2024-08-29 23:48:45 +0000
committer Rachit Jain <jainrachit@google.com> 2024-09-03 21:06:49 +0000
commit25072469af6ddaac5a3e12b479b925b445290642 (patch)
treecdf655bc02ab8129b2a9ca544082262b65364420 /libs/androidfw/AttributeResolution.cpp
parentcf3cd4f646ea4d08c51a1bb97354006252565712 (diff)
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
Diffstat (limited to 'libs/androidfw/AttributeResolution.cpp')
0 files changed, 0 insertions, 0 deletions