Loading services/core/java/com/android/server/wm/ActivityTaskManagerService.java +8 −0 Original line number Diff line number Diff line Loading @@ -4183,6 +4183,14 @@ public class ActivityTaskManagerService extends IActivityTaskManager.Stub { } getTransitionController().startCollectOrQueue(enterPipTransition, (deferred) -> { if (deferred && !r.isAttached()) { // If the transition was queued to collect, it is possible the PiP candidate // activity isn't in a proper state to enter PiP anymore, so double check. Slog.w(TAG, "PiP candidate activity in invalid state on transit collect"); enterPipTransition.abort(); return; } mChainTracker.start("enterPip2", enterPipTransition); // Collecting PiP activity explicitly to avoid stopping PiP activity while // Shell handles the request; see task supervisor's Loading Loading
services/core/java/com/android/server/wm/ActivityTaskManagerService.java +8 −0 Original line number Diff line number Diff line Loading @@ -4183,6 +4183,14 @@ public class ActivityTaskManagerService extends IActivityTaskManager.Stub { } getTransitionController().startCollectOrQueue(enterPipTransition, (deferred) -> { if (deferred && !r.isAttached()) { // If the transition was queued to collect, it is possible the PiP candidate // activity isn't in a proper state to enter PiP anymore, so double check. Slog.w(TAG, "PiP candidate activity in invalid state on transit collect"); enterPipTransition.abort(); return; } mChainTracker.start("enterPip2", enterPipTransition); // Collecting PiP activity explicitly to avoid stopping PiP activity while // Shell handles the request; see task supervisor's Loading