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

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

Merge "Fixing crash when checking for home task resizeability." into oc-dev

parents 71d051ad f7fb5e39
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -738,7 +738,8 @@ public class TaskStack extends WindowContainer<Task> implements DimLayer.DimLaye

        // When the home stack is resizable, should always have the same stack and task bounds
        if (mStackId == HOME_STACK_ID) {
            if (findHomeTask().isResizeable()) {
            final Task homeTask = findHomeTask();
            if (homeTask != null && homeTask.isResizeable()) {
                // Calculate the home stack bounds when in docked mode and the home stack is
                // resizeable.
                getDisplayContent().mDividerControllerLocked