commit | d21996045d6c519080cba8f2a86c5eec7f789321 | [log] [tgz] |
---|---|---|
author | Winson Chung <winsonc@google.com> | Fri Aug 10 10:53:32 2018 -0700 |
committer | Winson Chung <winsonc@google.com> | Fri Aug 10 10:54:24 2018 -0700 |
tree | 556b54f3288ef4c06fdd386cea22bc25841e028a | |
parent | e4c7d37e03146ada9becbc30468a9e4f9ad9c9eb [diff] |
Prevent reiterating over same stack tasks when calculating running tasks - Clear the stack task list before each fetch and don't re-add all of them. There is no functional change since the tasks are added to the same set which will dedupe them. Bug: 112467578 Test: atest FrameworksServicesTests:RunningTasksTest Change-Id: I9c65771429b30d8e1d357843235b1a6deebfd402