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

Commit a8b00124 authored by Lingyu Feng's avatar Lingyu Feng
Browse files

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
parent 0efc9694
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