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

Skip to content
Commit 362738e6 authored by Nicolo' Mazzucato's avatar Nicolo' Mazzucato
Browse files

Collapse the shade before moving the window to another display

This makes sure that the shade is collapsed before the shade is moved to
another display.
The same shade window element expanded will be re-expanded after the
shade move is done (either QS or notifications)

The code to do this and wait for the expansion to finish has been
extracted to ShadeExpansionStateInteractor.

As a side effect, this prevents flickers when moving the shade, and
makes the motion much more pleasant.

Bug: 362719719
Test: ShadeDisplaysInteractorTest, ShadeExpandedStateInteractorTest
Flag: com.android.systemui.shade_window_goes_around
Change-Id: Icacb547aabe613c2b4a2a5d9b96613b300daa87d
parent b6c9a433
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