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

Commit 98d1fe3d authored by Winson Chung's avatar Winson Chung
Browse files

Setting initial state when docking task

Bug: 144410993
Test: Use global actions to trigger split screen
Change-Id: Ib744a61e548f94cbbbbb079e68f98712229d8e87
parent d9e13e79
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -162,6 +162,8 @@ public class OverviewProxyRecentsImpl implements RecentsImplementation {
            if (runningTask.supportsSplitScreenMultiWindow) {
                if (ActivityManagerWrapper.getInstance().setTaskWindowingModeSplitScreenPrimary(
                        runningTask.id, stackCreateMode, initialBounds)) {
                    mDividerOptional.ifPresent(Divider::onDockedTopTask);

                    // The overview service is handling split screen, so just skip the wait for the
                    // first draw and notify the divider to start animating now
                    mDividerOptional.ifPresent(Divider::onRecentsDrawn);