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

Skip to content
Commit e6942eab authored by Riddle Hsu's avatar Riddle Hsu
Browse files

Skip transition if the display has no visible content

It is unnecessary to have a transition because there is nothing
to animate.

This aligns the same behavior as
PhysicalDisplaySwitchTransitionLauncher
   #requestDisplaySwitchTransitionIfNeeded
and DisplayContent#requestChangeTransitionIfNeeded.

Bug: 259220649
Test: atest DisplayContentDeferredUpdateTests
      Create an empty virtual display and resize it.
      There should not have a transition (it may even hit timeout).
Change-Id: I0ef1cea067d58bd54611943dc126d7e46a083d2e
parent d7c542d1
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