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

Commit 7d0705fc authored by Evan Rosky's avatar Evan Rosky
Browse files

Updated comments for clarity

Bug: 71028874
Test: N/A, just comments
Change-Id: Ieee6fc7bf991e2c8848fe6ecf54e0667ab7c9cb5
parent 7695d730
Loading
Loading
Loading
Loading
+4 −1
Original line number Diff line number Diff line
@@ -600,6 +600,8 @@ class ActivityStack<T extends StackWindowController> extends ConfigurationContai
                mStackSupervisor.mNoAnimActivities.add(topActivity);
            }
            super.setWindowingMode(windowingMode);
            // setWindowingMode triggers an onConfigurationChanged cascade which can result in a
            // different resolved windowing mode (usually when preferredWindowingMode is UNDEFINED).
            windowingMode = getWindowingMode();

            if (creating) {
@@ -4802,7 +4804,8 @@ class ActivityStack<T extends StackWindowController> extends ConfigurationContai
                final TaskRecord task = mTaskHistory.get(i);
                if (task.isResizeable()) {
                    if (inFreeformWindowingMode()) {
                        // TODO: Can be removed now since each freeform task is in its own stack.
                        // TODO(b/71028874): Can be removed since each freeform task is its own
                        //                   stack.
                        // For freeform stack we don't adjust the size of the tasks to match that
                        // of the stack, but we do try to make sure the tasks are still contained
                        // with the bounds of the stack.