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

Commit c78ab05e authored by Yuncheol Heo's avatar Yuncheol Heo Committed by Android (Google) Code Review
Browse files

Merge "Moves the embedded task to back when it become invisible" into udc-qpr-dev

parents 0be36f0c 5b78d592
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
@@ -260,6 +260,9 @@ public class TaskViewTaskController implements ShellTaskOrganizer.TaskListener {
    private void updateTaskVisibility() {
        WindowContainerTransaction wct = new WindowContainerTransaction();
        wct.setHidden(mTaskToken, !mSurfaceCreated /* hidden */);
        if (!mSurfaceCreated) {
            wct.reorder(mTaskToken, false /* onTop */);
        }
        mSyncQueue.queue(wct);
        if (mListener == null) {
            return;