diff --git a/services/core/java/com/android/server/wm/Task.java b/services/core/java/com/android/server/wm/Task.java index e8b696708ea66..25bdea6576a57 100644 --- a/services/core/java/com/android/server/wm/Task.java +++ b/services/core/java/com/android/server/wm/Task.java @@ -1210,6 +1210,12 @@ class Task extends TaskFragment { } if (newParent != null) { + // Surface of Task that will not be organized should be shown by default. + // See Task#showSurfaceOnCreation + if (!mCreatedByOrganizer && !canBeOrganized()) { + getSyncTransaction().show(mSurfaceControl); + } + // TODO: Ensure that this is actually necessary here // Notify the voice session if required if (voiceSession != null) {