Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit 04c355ad authored by Mateusz Cicheński's avatar Mateusz Cicheński
Browse files

Ignore the Recents animation target when collecting keep clear areas.

In phone it is possible that user e.g. swipes up to close full screen app / go home, and there could be underlying windows beneath it that are trying to register keep clear areas, but due to window ordering and top-to-bottom lookup, they would never get a chance to report them and trigger the onKeepClearAreasChanged, since the full screen app is still on top of the list and the loop exits early. However, that app is simply being animated and should no longer impact this logic.

Test: atest DisplayContentTests#testKeepClearAreasMultipleWindows
Test: atest WindowStateTests#testKeepClearAreas
Bug: 183746978

Change-Id: I735a9cfbc9b069d22709e96c61f776104fea1501
parent 6b55fa71
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