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

Commit 4febc8a8 authored by Evan Rosky's avatar Evan Rosky
Browse files

Make sure PiP transition triggered by WM is setReady

This was kinda working by luck previously. However, WM was
making a PiP transition in a way that it would never be ready
without other systems "accidentally" making it ready. This
results in time-outs. While this didn't pose any immediate
issues, its a potential source of some of the CTS timeout bugs.

Resolving this required adding a "push/pop NotReady" counter
to Transition so that we can have "code regions" which make
WM changes interleaved with performSurfacePlacement in one
transition in situations where we might need to nest into
an already-collecting transition.

Bug: 223321458
Test: atest RootWindowContainerTests TransitionTests
Change-Id: I5bc9c63b7f67b050e7164a6581b91eb2c0b00704
parent 7b8af988
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment