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

Commit db2b5f08 authored by Wei Sheng Shih's avatar Wei Sheng Shih Committed by Android (Google) Code Review
Browse files

Merge "Revert^2 "Defer destroy activity if it is in transition."" into main

parents 18c1bae5 79b62e55
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -3964,7 +3964,7 @@ final class ActivityRecord extends WindowToken implements WindowManagerService.A
        }
        if (isCurrentVisible) {
            if (isNextNotYetVisible || delayRemoval) {
            if (isNextNotYetVisible || delayRemoval || (next != null && isInTransition())) {
                // Add this activity to the list of stopping activities. It will be processed and
                // destroyed when the next activity reports idle.
                addToStopping(false /* scheduleIdle */, false /* idleDelayed */,