diff options
| author | 2020-07-18 00:15:55 +0000 | |
|---|---|---|
| committer | 2020-07-18 00:15:55 +0000 | |
| commit | e38482aa544188533136e81267212b8ef1fa3e18 (patch) | |
| tree | 924dff23da434d9770d6ccbf560d4920621820d8 | |
| parent | 1e11b1ae97e59c885e6d56b84682370e8144e8be (diff) | |
| parent | b1e304ca8c1a387885e5bc354972ad3fb0817022 (diff) | |
Merge "Merge "Revert "Call preserveSurfaces when detaching children."" into rvc-dev am: 3affbe4d9f am: c3e5f8315a am: 564f07abdb" into rvc-qpr-dev-plus-aosp
| -rw-r--r-- | services/core/java/com/android/server/wm/WindowStateAnimator.java | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/services/core/java/com/android/server/wm/WindowStateAnimator.java b/services/core/java/com/android/server/wm/WindowStateAnimator.java index 508d2d477067..da45300ed318 100644 --- a/services/core/java/com/android/server/wm/WindowStateAnimator.java +++ b/services/core/java/com/android/server/wm/WindowStateAnimator.java @@ -1592,12 +1592,6 @@ class WindowStateAnimator { if (mSurfaceController != null) { mSurfaceController.detachChildren(); } - // If the children are detached, it means the app is exiting. We don't want to tear the - // content down too early, otherwise we could end up with a flicker. By preserving the - // current surface, we ensure the content remains on screen until the window is completely - // removed. It also ensures that the old surface is cleaned up when started again since it - // forces mSurfaceController to be set to null. - preserveSurfaceLocked(); } void setOffsetPositionForStackResize(boolean offsetPositionForStackResize) { |