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

Commit 2336f716 authored by Wale Ogunwale's avatar Wale Ogunwale Committed by Android (Google) Code Review
Browse files

Merge "Only persist task bounds for freeform tasks."

parents 0142299a 807d8826
Loading
Loading
Loading
Loading
+2 −5
Original line number Diff line number Diff line
@@ -485,12 +485,9 @@ public class ActivityManager {
            return stackId == FREEFORM_WORKSPACE_STACK_ID;
        }

        /**
         * Returns true if the task bounds should persist across power cycles.
         */
        /** Returns true if the task bounds should persist across power cycles. */
        public static boolean persistTaskBounds(int stackId) {
            return isStaticStack(stackId) &&
                    stackId != DOCKED_STACK_ID && stackId != PINNED_STACK_ID;
            return stackId == FREEFORM_WORKSPACE_STACK_ID;
        }

        /**