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

Commit a4478110 authored by Ikram Gabiyev's avatar Ikram Gabiyev
Browse files

Only mark queued transition as no-op if Shell-init

We have been marking some queued transitions as
mShouldNoopUponDequeue=true if they were coming in
while a display changing transition was collecting but hasn't started.
We were doing this because Shell wasn't aware of the new display state
yet.

This, however, does not apply to Core-initiated transitions, as they are
fully aware of the latest WM state; so this is just a Core <-> Shell
serialization issue.

Hence, we should limit the no-op-ing only to transitions directly
initiated by Shell through WindowOrganizerController.

Bug: 436919678
Flag: EXEMPT bugfix
Test: atest CtsWindowManagerDeviceDisplay:AppConfigurationTests
  #testTaskMoveToBackOrientation
Test: atest WmTests-wm-TransitionTests:TransitionTests
Change-Id: I2018146eb8081c7b1b3557b547d35453122a49dd
parent 46ee9116
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