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

Skip to content
Commit 366ed325 authored by Riddle Hsu's avatar Riddle Hsu Committed by Nick Chameyev
Browse files

Run surface placement at the end of display change

It was
1. Configuration change from
   a. DC#reconfigureDisplayLocked
2. Surface placement delivers task info change from
   a. (1.a) -> sendNewConfiguration
      -> DC#updateDisplayOverrideConfigurationLocked
      -> continueWindowLayout
   or
   b. (1.a) -> performSurfacePlacement
3. Request transition

This makes 2 happen after 3, so the task info changes won't
reach shell before display transition is requested.

Also reduce unnecessary placement from (2.b).

Bug: 301420598
Bug: 325348791
Test: Fold/unfold split screen. There is no split screen transition
      after display change transition.
Change-Id: I2b755db6fa2c388eb6db2bed18d298dc7c844925
(cherry picked from commit 5dd47d95)
parent 1745193e
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