Loading services/core/java/com/android/server/wm/WindowStateAnimator.java +6 −0 Original line number Original line Diff line number Diff line Loading @@ -1493,6 +1493,12 @@ class WindowStateAnimator { } } void detachChildren() { void detachChildren() { // Do not detach children of starting windows, as their lifecycle is well under control and // it may lead to issues in case we relaunch when we just added the starting window. if (mWin.mAttrs.type == TYPE_APPLICATION_STARTING) { return; } if (mSurfaceController != null) { if (mSurfaceController != null) { mSurfaceController.detachChildren(); mSurfaceController.detachChildren(); } } Loading Loading
services/core/java/com/android/server/wm/WindowStateAnimator.java +6 −0 Original line number Original line Diff line number Diff line Loading @@ -1493,6 +1493,12 @@ class WindowStateAnimator { } } void detachChildren() { void detachChildren() { // Do not detach children of starting windows, as their lifecycle is well under control and // it may lead to issues in case we relaunch when we just added the starting window. if (mWin.mAttrs.type == TYPE_APPLICATION_STARTING) { return; } if (mSurfaceController != null) { if (mSurfaceController != null) { mSurfaceController.detachChildren(); mSurfaceController.detachChildren(); } } Loading