summaryrefslogtreecommitdiff
path: root/libs/androidfw/ConfigDescription.cpp
diff options
context:
space:
mode:
author Shengsong Tan <sstan@google.com> 2021-06-22 15:28:00 +0900
committer Will McVicker <willmcvicker@google.com> 2022-03-03 14:38:11 -0800
commita4ef031f89aefb10a718bd5d734b442ec2d6ccaa (patch)
treeb3e3cc0fc72cb2d8ba424027ddd5eae92e2ed479 /libs/androidfw/ConfigDescription.cpp
parent51a495407661c1f136fa71afa855956203f6c604 (diff)
Fix the same active time tasks disappeared on RunngintTasks
In |getTasks|, a TreeSet is used to sort task by last active time directly. However, the TreeSet is no duplicatable, so the if the comparing task have the same lastActiveTime, one of them will be dropped. This CL add task id as the extra field on comparator. Bug: 191729305 Test: manually launch many apps. Change-Id: Iee39e438224f3ef22bc0a9254be88eec842c61a6 Merged-In: Iee39e438224f3ef22bc0a9254be88eec842c61a6
Diffstat (limited to 'libs/androidfw/ConfigDescription.cpp')
0 files changed, 0 insertions, 0 deletions