summaryrefslogtreecommitdiff
path: root/tools/aapt2/java/JavaClassGenerator.cpp
diff options
context:
space:
mode:
authorWinson Chung <winsonc@google.com>2020-03-21 23:00:24 -0700
committerWinson Chung <winsonc@google.com>2020-03-25 09:29:29 -0700
commite5ab0170f823419446d6a28a3367534ccef782d5 (patch)
tree3a07d0e9a99f0b93d96cb2b7dd41a6cb2d30b20a /tools/aapt2/java/JavaClassGenerator.cpp
parentaff506bb30b436daa20972fbeafeea3fe073f8c4 (diff)
Skip excluded MW mode tasks from recents and running tasks
- Skip multi-window mode tasks with the exclude-from-recents flag from the visible recent tasks list - Expose a method in LauncherApps to be able to start a shortcut with additional intent flags (to add the exclude-from-recents flag) - Remove unused ActMan path (only ActTaskMan call is used now) - Refactor the call to get the running tasks, there are currently only two usages of getFilteredTasks(), one is to get all the tasks, the other is really to get tasks that we will end up using for transitioning into the task in recents. As such, we can remove the individual ignore flags (it would get more complicated if we wanted to filter based on logic like MW mode + excluded recents only), and instead have a boolean that filters the running tasks based on whether they would ever show in recents at all, with the exception of the home and recent tasks. Bug: 152133859 Test: atest WmTests:RunningTasksTest Test: atest WmTests:RecentTasksTest Change-Id: Ia4f5fd37228c72ce449490f948e923afba821bb2 Signed-off-by: Winson Chung <winsonc@google.com>
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator.cpp')
0 files changed, 0 insertions, 0 deletions