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

Commit 9f37d8cb authored by Biswarup Pal's avatar Biswarup Pal
Browse files

Disable window and transition animations on computercontrol displays

Introduce a method in WindowManagerInternal to enable/disable window
and transiton animations for a display, and store a boolean in
DisplayContent to indicate on/off state of animations. VDM service
calls this method for every display created for computercontrol (this
will also be called when a ComputerControlSession is attached/detached
to a MirrorView to re-enable animations). WMCore notifies WMShell using
a new method in IDisplayWindowListener about animations turned on/off
for a display, to play transitions accordingly.

Test: atest WindowManagerServiceTests
Test: atest ComputerControlSessionTest
Bug: 427437362
Flag: android.companion.virtualdevice.flags.enable_animations_per_display
Change-Id: Ie4835c1107d33556c04ace1a59d7c7341b510e77
parent a45e410c
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