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

Commit 774bd7a6 authored by Bryce Lee's avatar Bryce Lee Committed by Android (Google) Code Review
Browse files

Merge "Do not use docked stack bounds unless all conditions are met."

parents e5b514cb fa378d84
Loading
Loading
Loading
Loading
+6 −2
Original line number Diff line number Diff line
@@ -423,8 +423,12 @@ public class TaskStack extends WindowContainer<Task> implements DimLayer.DimLaye
        mBoundsAfterRotation.setEmpty();
        final DockedStackDividerController controller = getDisplayContent()
                .mDividerControllerLocked;
        if (controller.isMinimizedDock() && mStackId == DOCKED_STACK_ID) {
            outTempBounds.set(controller.getMiddlePositionDockedStackRect());
        if (mStackId == DOCKED_STACK_ID) {
            final Rect dockedStackRect = controller.getMiddlePositionDockedStackRect();

            if (dockedStackRect != null) {
                outTempBounds.set(dockedStackRect);
            }
        }
    }