commit | 013a8a75abb9e940163dfafceb0c1fefc218652f | [log] [tgz] |
---|---|---|
author | Sunny Goyal <sunnygoyal@google.com> | Tue Apr 12 22:56:24 2022 -0700 |
committer | Sunny Goyal <sunnygoyal@google.com> | Thu Apr 14 14:02:28 2022 -0700 |
tree | 1b0b107d939d0c808d2e44bcc18015f33d7e2f7e | |
parent | 998c47e594fc932cd85025a77e2ab38610c0c3ae [diff] |
Removing AM.getTasks call on UI thread during touch down We maintain a cached task queue using TaskStackChangeListener. It keeps the top RunningTaskInfo partially in sync with platfrom: taskInfo is only initialized when the top task changes but not when there are changes within the task itself. Bug: 214581894 Bug: 220742398 Test: Manual and presubmit Change-Id: Ifafde574040c03435b78f044350c45f3b49c4bcb