Loading services/core/java/com/android/server/wm/ActivityRecord.java +7 −1 Original line number Diff line number Diff line Loading @@ -3453,8 +3453,14 @@ final class ActivityRecord extends WindowToken implements WindowManagerService.A if (stopped) { abortAndClearOptionsAnimation(); } if (mAtmService.getTransitionController().isCollecting()) { // We don't want the finishing to change the transition ready state since there will not // be corresponding setReady for finishing. mAtmService.getTransitionController().collectExistenceChange(this); } else { mAtmService.getTransitionController().requestTransitionIfNeeded(TRANSIT_CLOSE, this); } } /** * This method is to only be called from the client via binder when the activity is destroyed Loading services/core/java/com/android/server/wm/ActivityTaskSupervisor.java +7 −1 Original line number Diff line number Diff line Loading @@ -1551,7 +1551,13 @@ public class ActivityTaskSupervisor implements RecentTasks.Callbacks { return; } if (task.isVisible()) { if (mService.getTransitionController().isCollecting()) { // We don't want the finishing to change the transition ready state since there will // not be corresponding setReady for finishing. mService.getTransitionController().collectExistenceChange(task); } else { mService.getTransitionController().requestTransitionIfNeeded(TRANSIT_CLOSE, task); } } else { // Removing a non-visible task doesn't require a transition, but if there is one // collecting, this should be a member just in case. Loading Loading
services/core/java/com/android/server/wm/ActivityRecord.java +7 −1 Original line number Diff line number Diff line Loading @@ -3453,8 +3453,14 @@ final class ActivityRecord extends WindowToken implements WindowManagerService.A if (stopped) { abortAndClearOptionsAnimation(); } if (mAtmService.getTransitionController().isCollecting()) { // We don't want the finishing to change the transition ready state since there will not // be corresponding setReady for finishing. mAtmService.getTransitionController().collectExistenceChange(this); } else { mAtmService.getTransitionController().requestTransitionIfNeeded(TRANSIT_CLOSE, this); } } /** * This method is to only be called from the client via binder when the activity is destroyed Loading
services/core/java/com/android/server/wm/ActivityTaskSupervisor.java +7 −1 Original line number Diff line number Diff line Loading @@ -1551,7 +1551,13 @@ public class ActivityTaskSupervisor implements RecentTasks.Callbacks { return; } if (task.isVisible()) { if (mService.getTransitionController().isCollecting()) { // We don't want the finishing to change the transition ready state since there will // not be corresponding setReady for finishing. mService.getTransitionController().collectExistenceChange(task); } else { mService.getTransitionController().requestTransitionIfNeeded(TRANSIT_CLOSE, task); } } else { // Removing a non-visible task doesn't require a transition, but if there is one // collecting, this should be a member just in case. Loading