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

Commit 6a8541f8 authored by Tracy Zhou's avatar Tracy Zhou
Browse files

Fix divider flicker from swiping up from a pip->fullscreen app on top of split

When swiping up from the pip->fullscreen app, the splitscreen visibility state isn't updated causing the divider to be brought to front.

Fixes: 289753648
Test: manual
Flag: EXEMPT bugfix
Change-Id: I86d40968bcd0f24c2c1846eea64041d766852fdb
parent 2a482374
Loading
Loading
Loading
Loading
+2 −1
Original line number Original line Diff line number Diff line
@@ -244,8 +244,9 @@ public class StageTaskListener implements ShellTaskOrganizer.TaskListener {
                return;
                return;
            }
            }
            mChildrenTaskInfo.put(taskInfo.taskId, taskInfo);
            mChildrenTaskInfo.put(taskInfo.taskId, taskInfo);
            mVisible = taskInfo.isVisible && taskInfo.isVisibleRequested;
            mCallbacks.onChildTaskStatusChanged(this, taskInfo.taskId, true /* present */,
            mCallbacks.onChildTaskStatusChanged(this, taskInfo.taskId, true /* present */,
                    taskInfo.isVisible && taskInfo.isVisibleRequested);
                    mVisible);
        } else {
        } else {
            throw new IllegalArgumentException(this + "\n Unknown task: " + taskInfo
            throw new IllegalArgumentException(this + "\n Unknown task: " + taskInfo
                    + "\n mRootTaskInfo: " + mRootTaskInfo);
                    + "\n mRootTaskInfo: " + mRootTaskInfo);