Skip to content
Commit a163d1bf authored by Shengsong Tan's avatar Shengsong Tan
Browse files

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
parent e8f4ef66
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment