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

Commit 5ce57237 authored by Toshiki Kikuchi's avatar Toshiki Kikuchi
Browse files

Fix NPE in updateDisplayWindowingMode

This CL fixes the crash issue in CTS which uses non-trusted overlay
displays.
Such a display is not “organized” by the DisplayOrganizer so
DisplayAreaInfo can be null.

Bug: 406106717
Flag: com.android.window.flags.enable_display_windowing_mode_switching
Flag: com.android.server.display.feature.flags.enable_display_content_mode_management
Test: android.server.wm.multidisplay.MultiDisplaySystemDecorationTests
Change-Id: I2dd81510a73736eeb0392256349f9619e5a764a1
parent a867d0e5
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