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

Commit 69015a21 authored by Winson Chung's avatar Winson Chung Committed by Android (Google) Code Review
Browse files

Merge "Setting initial state when docking task"

parents 38259855 98d1fe3d
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);