commit | df4284f4ad6b31c46d727ac5b2551ed37ff3ecd1 | [log] [tgz] |
---|---|---|
author | Riddle Hsu <riddlehsu@google.com> | Tue Dec 05 16:21:16 2023 -0600 |
committer | Riddle Hsu <riddlehsu@google.com> | Tue Dec 05 16:33:03 2023 +0800 |
tree | 6682df2ba922fad7424f40cad931def12dc16b77 | |
parent | edb14a70781d7b044f841df9a7bcc3d1bd9efac1 [diff] |
Reduce unnecessary window container traversal There are usually 30+ ABOVE_TASKS DisplayArea, so check the type to skip the containers that won't contain activity or task. Remove the condition of BELOW_TASKS because TaskDisplayArea is almost at the bottom and usually at least there is an activity which is above BELOW_TASKS. Bug: 159103089 Test: CtsWindowManagerDeviceWindow Change-Id: I71490a738810e256d6059b7453da36b391f8f856