diff options
author | Dianne Hackborn <hackbod@google.com> | 2014-08-22 17:42:43 -0700 |
---|---|---|
committer | Dianne Hackborn <hackbod@google.com> | 2014-08-26 21:24:42 -0700 |
commit | 852975d5377bfe5f4abc9d2a28e301aa2fa99994 (patch) | |
tree | f993644fd2a52f53268e679078428f23bb7d13ab /packages/SystemUI/res | |
parent | 330459d685bdc77780e8b77f6cbd6f94ecdd3268 (diff) | |
download | frameworks_base-852975d5377bfe5f4abc9d2a28e301aa2fa99994.zip frameworks_base-852975d5377bfe5f4abc9d2a28e301aa2fa99994.tar.gz frameworks_base-852975d5377bfe5f4abc9d2a28e301aa2fa99994.tar.bz2 |
Fix issue #17179314: Make recents limits consistent
The max limit is now 100 (or 50 on svelte devices), and that is
what everyone used.
Re-arranged things so we have a big expensive "fix the world!"
function for recents that we go in to at only select points:
when first initializing the system, when external storage comes
and goes, and if we detect something wrong with the recents
structure.
With that, now getRecentTasks() and addRecentTaskLocked() are
generally much simpler, doing very little work in most cases.
This will help a lot with scaling up to many more recents
entries.
Change-Id: I7b5ae89edc06568f68c8af54a4420aff7635581c
Diffstat (limited to 'packages/SystemUI/res')
-rw-r--r-- | packages/SystemUI/res/values/config.xml | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/packages/SystemUI/res/values/config.xml b/packages/SystemUI/res/values/config.xml index fa00ebf..e940b18 100644 --- a/packages/SystemUI/res/values/config.xml +++ b/packages/SystemUI/res/values/config.xml @@ -145,8 +145,6 @@ <integer name="recents_animate_task_view_remove_duration">250</integer> <!-- The minimum alpha for the dim applied to cards that go deeper into the stack. --> <integer name="recents_max_task_stack_view_dim">96</integer> - <!-- The number of tasks that RecentsTaskLoader should load. --> - <integer name="recents_max_num_tasks_to_load">50</integer> <!-- The delay to enforce between each alt-tab key press. --> <integer name="recents_alt_tab_key_delay">200</integer> <!-- Transposes the recents layout in landscape. --> |