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

Commit 844a275a authored by Chris Li's avatar Chris Li Committed by Automerger Merge Worker
Browse files

Merge "Show Task Surface if it will not be organized" into sc-v2-dev am: ce546939

Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/15291894

Change-Id: Ifd087dd76f0bf6bca7afda7e1eb28695899bc61c
parents e19cff29 ce546939
Loading
Loading
Loading
Loading
+6 −0
Original line number Diff line number Diff line
@@ -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) {