Skip to content
Commit 995e106a authored by Jorim Jaggi's avatar Jorim Jaggi
Browse files

If window isn't requested to be visible, don't consider it

For the -1 overlay in Launcher, we'd like to keep it invisible
to reduce global system contention, to avoid allocating a surface
when just swiping up. However, this doesn't work yet as we always
consider the window as interesting even though it requested to
be not visible.

To fix that, we only consider a window as interesting if it has
also requested to be visible. Note: This doesn't apply for the main
window.

Test: go/wm-smoke
Test: Swipe up with special home APK
Bug: 123539527
Change-Id: I19f712051b51fed0435d80442ecb7bd9b0a69f80
parent 13ee7876
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment