diff options
| author | 2023-12-05 16:21:16 -0600 | |
|---|---|---|
| committer | 2023-12-05 16:33:03 +0800 | |
| commit | df4284f4ad6b31c46d727ac5b2551ed37ff3ecd1 (patch) | |
| tree | 6682df2ba922fad7424f40cad931def12dc16b77 /libs/androidfw/FileStream.cpp | |
| 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
Diffstat (limited to 'libs/androidfw/FileStream.cpp')
0 files changed, 0 insertions, 0 deletions