summaryrefslogtreecommitdiff
path: root/libs/androidfw/FileStream.cpp
diff options
context:
space:
mode:
author Louis Chang <louischang@google.com> 2023-07-12 02:43:13 +0000
committer Louis Chang <louischang@google.com> 2023-07-18 04:38:16 +0000
commitabf91abaefa6291cce2436b525a76d6fe057d5c8 (patch)
tree2ff53f3bf6b4daa2d549878813e16265f1ffceaa /libs/androidfw/FileStream.cpp
parent5a74298a1c6f830a4172ee4edf8ac7ac53629216 (diff)
Trims Recent Task when Task windowing mode changed after dismiss split-screen
While starting an activity in split-screen, a Task was created in multi-window mode and added to the RecentTasks. Once the activity is finished, the same Task was reparented to TDA and became fullscreen windowing mode before the activity is removed. The next time starting the same activity in split-screen, a multi-window mode Task was added to the RecentTasks again without trimming the legacy recent Task because the windowing modes are incompatible (multi-window vs. fullscreen). Repeating the steps could resulted in redundant tasks in Recents. Bug: 289317239 Test: atest RecentTasksTest Change-Id: I7af0acaa6d528d7a45018b1b7f57dbe6d57f1585
Diffstat (limited to 'libs/androidfw/FileStream.cpp')
0 files changed, 0 insertions, 0 deletions