Merge "Correct dissapearing SurfaceView during exit animations."
This commit is contained in:
committed by
Android (Google) Code Review
commit
6b3733cac0
@@ -1532,6 +1532,13 @@ class WindowState extends WindowContainer<WindowState> implements WindowManagerP
|
||||
return changed;
|
||||
}
|
||||
|
||||
// Next up we will notify the client that it's visibility has changed.
|
||||
// We need to prevent it from destroying child surfaces until
|
||||
// the animation has finished.
|
||||
if (!visible && isVisibleNow()) {
|
||||
mWinAnimator.detachChildren();
|
||||
}
|
||||
|
||||
if (visible != isVisibleNow()) {
|
||||
if (!runningAppAnimation) {
|
||||
final AccessibilityController accessibilityController =
|
||||
|
||||
Reference in New Issue
Block a user