diff options
author | Winson Chung <winsonc@google.com> | 2017-10-05 17:18:43 -0700 |
---|---|---|
committer | Winson Chung <winsonc@google.com> | 2017-10-12 10:56:49 -0700 |
commit | d6aa3db6e44a448a722ca2fb60eed83b9c93179b (patch) | |
tree | 32a315bbb07d4a21784c680208ea577494a1f958 /tools/aapt2/java/JavaClassGenerator.cpp | |
parent | 1dbc81128c60cbe8ee9498f925d1d4ce3875746d (diff) |
2/Trimming tasks based on active and visibility
- Add logic to trim tasks beyond the max-recents policy, including
migrating the trimming of quiet profile tasks and visibile tasks
to the system (to ensure callers always get a consistent list)
- Remove trimmed recent tasks from the active task list
- Add logic to actually handle config_hasRecents to determine whether to
apply visibility filtering (otherwise only filters by max-recents as
before)
Bug: 34270611
Test: runtest --path frameworks/base/services/tests/servicestests/src/com/android/server/am/RecentTasksTest.java
Change-Id: If17586cd9e8ac1ae8f112239381adc96a0528123
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator.cpp')
0 files changed, 0 insertions, 0 deletions