diff options
author | Winson Chung <winsonc@google.com> | 2018-08-10 10:53:32 -0700 |
---|---|---|
committer | Winson Chung <winsonc@google.com> | 2018-08-10 10:54:24 -0700 |
commit | d21996045d6c519080cba8f2a86c5eec7f789321 (patch) | |
tree | 556b54f3288ef4c06fdd386cea22bc25841e028a /rs/java/android/renderscript/ProgramFragmentFixedFunction.java | |
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
Diffstat (limited to 'rs/java/android/renderscript/ProgramFragmentFixedFunction.java')
0 files changed, 0 insertions, 0 deletions