Loading services/core/java/com/android/server/wm/SnapshotController.java +5 −1 Original line number Diff line number Diff line Loading @@ -119,7 +119,11 @@ class SnapshotController { if (info.mWindowingMode == WINDOWING_MODE_PINNED) continue; if (info.mContainer.isActivityTypeHome()) continue; final Task task = info.mContainer.asTask(); if (task != null && !task.mCreatedByOrganizer && !task.isVisibleRequested()) { // Note that if this task is being transiently hidden, the snapshot will be captured at // the end of the transient transition (see Transition#finishTransition()), because IME // won't move be moved during the transition and the tasks are still live. if (task != null && !task.mCreatedByOrganizer && !task.isVisibleRequested() && !task.mTransitionController.isTransientHide(task)) { mTaskSnapshotController.recordSnapshot(task, info); } // Won't need to capture activity snapshot in close transition. Loading services/core/java/com/android/server/wm/Transition.java +1 −4 Original line number Diff line number Diff line Loading @@ -2120,10 +2120,7 @@ class Transition implements BLASTSyncEngine.TransactionReadyListener { // Take snapshots for closing tasks/activities before the animation finished but after // dispatching onTransitionReady, so IME (if there is) can be captured together and the // time spent on snapshot won't delay the start of animation. Note that if this transition // is transient (mTransientLaunches != null), the snapshot will be captured at the end of // the transition, because IME won't move be moved during the transition and the tasks are // still live. // time spent on snapshot won't delay the start of animation. if (mTransientLaunches == null) { mController.mSnapshotController.onTransactionReady(mType, mTargets); } Loading Loading
services/core/java/com/android/server/wm/SnapshotController.java +5 −1 Original line number Diff line number Diff line Loading @@ -119,7 +119,11 @@ class SnapshotController { if (info.mWindowingMode == WINDOWING_MODE_PINNED) continue; if (info.mContainer.isActivityTypeHome()) continue; final Task task = info.mContainer.asTask(); if (task != null && !task.mCreatedByOrganizer && !task.isVisibleRequested()) { // Note that if this task is being transiently hidden, the snapshot will be captured at // the end of the transient transition (see Transition#finishTransition()), because IME // won't move be moved during the transition and the tasks are still live. if (task != null && !task.mCreatedByOrganizer && !task.isVisibleRequested() && !task.mTransitionController.isTransientHide(task)) { mTaskSnapshotController.recordSnapshot(task, info); } // Won't need to capture activity snapshot in close transition. Loading
services/core/java/com/android/server/wm/Transition.java +1 −4 Original line number Diff line number Diff line Loading @@ -2120,10 +2120,7 @@ class Transition implements BLASTSyncEngine.TransactionReadyListener { // Take snapshots for closing tasks/activities before the animation finished but after // dispatching onTransitionReady, so IME (if there is) can be captured together and the // time spent on snapshot won't delay the start of animation. Note that if this transition // is transient (mTransientLaunches != null), the snapshot will be captured at the end of // the transition, because IME won't move be moved during the transition and the tasks are // still live. // time spent on snapshot won't delay the start of animation. if (mTransientLaunches == null) { mController.mSnapshotController.onTransactionReady(mType, mTargets); } Loading