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

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

Merge "Clear task bounds data when removing non-bounds persistable task."

parents 59cf3086 b317b22a
Loading
Loading
Loading
Loading
+5 −0
Original line number Diff line number Diff line
@@ -4539,6 +4539,11 @@ final class ActivityStack {
        if (!moving) {
            mStackSupervisor.removeLockedTaskLocked(task);
            mWindowManager.removeTask(task.taskId);
            if (!StackId.persistTaskBounds(mStackId)) {
                // Reset current bounds for task whose bounds shouldn't be persisted so it uses
                // default configuration the next time it launches.
                task.updateOverrideConfiguration(null);
            }
        }

        final ActivityRecord r = mResumedActivity;