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

Commit b9bf2111 authored by Toshiki Kikuchi's avatar Toshiki Kikuchi
Browse files

Update display windowing mode when default display is added

This CL ensures that the display windowing mode of the default display
is updated when it’s added (i.e., right after SysUI’s initialization).
Otherwise, it’s never updated if any external display or input device is
connected to the device. Note that this is usually fine because the
display windowing mode remains the same throughout the user journey
without external displays or input devices, but in some edge cases
(e.g., SysUI crash followed by display disconnection, or
FORCE_DESKTOP_FIRST_ON_DEFAULT_DISPLAY debug flag) it can be an issue.

Flag: com.android.window.flags.enable_display_windowing_mode_switching
Fix: 431975631
Fix: 432592973
Fix: 438605732
Test: DesktopDisplayEventHandlerTest
Change-Id: Ie99e2d3594e5028cb12470071d0d4da006e78f9f
parent f4412566
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