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

Commit 5082dcb7 authored by Louis Chang's avatar Louis Chang
Browse files

Reset the last-activity-removal of the adjacent TaskFragment

Nees to reset both of the two TaskFragments.

Bug: 189386466
Test: wm presubmit
Change-Id: I423053b4b9df27ad4787771d59d2c8d26586b5f3
parent 5cbb831c
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -324,6 +324,7 @@ class TaskFragment extends WindowContainer<WindowContainer> {
        // Reset the adjacent TaskFragment if its adjacent TaskFragment is also this TaskFragment.
        if (mAdjacentTaskFragment != null && mAdjacentTaskFragment.mAdjacentTaskFragment == this) {
            mAdjacentTaskFragment.mAdjacentTaskFragment = null;
            mAdjacentTaskFragment.mDelayLastActivityRemoval = false;
        }
        mAdjacentTaskFragment = null;
        mDelayLastActivityRemoval = false;