Loading
Move error dialogs to default display when connected display is switched
to mirroring When mirroring starts on the connected displays, tasks are reparented to the default display. However, if any app error dialogs are showing on the connected display, those dialogs will persist there, and mirroring cannot start correctly. This CL removes AppErrorDialog, AppNotRespondingDialog, StrictModeViolationDialog and AppWaitingForDebuggerDialog from the display when mirroring starts, and also shows a corresponding new one on the default display if one doesn't already exist there. Bug: 389833364 Test: manually Flag: com.android.server.display.feature.flags.enable_display_content_mode_management Change-Id: I3cb95e0f8727a540b393ea0bb3acf9fa67bec605