summaryrefslogtreecommitdiff
path: root/libs/hwui/FrameInfoVisualizer.cpp
diff options
context:
space:
mode:
author Nick Chameyev <nickchameyev@google.com> 2023-09-29 16:08:02 +0000
committer Nick Chameyev <nickchameyev@google.com> 2023-12-01 18:26:41 +0000
commit6233caf0c0a6a6b84de34e9607f84d4d1acae5aa (patch)
treea33b52965a61ebbe8b1bed8584cc45758a693b1e /libs/hwui/FrameInfoVisualizer.cpp
parent9dfb64309e6d3c47becec4f71119b5bdc10dfa25 (diff)
Defer display switch update if transition is running
WindowManager receives updates from DisplayManager through onDisplayChanged() callback by reading the DisplayInfo objects after receiving this callback. This CL makes WindowManager to defer the updates if there is a collecting Shell transition. This is needed to allow starting physical display change transition if there is another transition running. Previously this was silently failing without starting a display switch transition. It also changes the behavior of PhysicalDisplayTransitionLauncher: now it starts the display change transition even if it's not an 'unfold' transition. UnfoldTransitionHandler will decide if it wants to handle 'unfold' display change and default transition handler will be used otherwise. Bug: 259220649 Bug: 277866717 Test: atest PhysicalDisplaySwitchTransitionLauncherTest Test: atest DisplayContentTests Test: manual fold/unfold with apps/split screen/ split screen + PIP Change-Id: Ib0d0624bf141ff16578d7902bec98272d17ee36f
Diffstat (limited to 'libs/hwui/FrameInfoVisualizer.cpp')
0 files changed, 0 insertions, 0 deletions