Loading services/core/java/com/android/server/wm/AppWindowAnimator.java +2 −2 Original line number Original line Diff line number Diff line Loading @@ -148,7 +148,7 @@ public class AppWindowAnimator { } } // Start out animation gone if window is gone, or visible if window is visible. // Start out animation gone if window is gone, or visible if window is visible. transformation.clear(); transformation.clear(); transformation.setAlpha(mAppToken.hasContentToDisplay() ? 1 : 0); transformation.setAlpha(mAppToken.isVisible() ? 1 : 0); hasTransformation = true; hasTransformation = true; mStackClip = stackClip; mStackClip = stackClip; Loading @@ -172,7 +172,7 @@ public class AppWindowAnimator { animation = sDummyAnimation; animation = sDummyAnimation; hasTransformation = true; hasTransformation = true; transformation.clear(); transformation.clear(); transformation.setAlpha(mAppToken.hasContentToDisplay() ? 1 : 0); transformation.setAlpha(mAppToken.isVisible() ? 1 : 0); } } void setNullAnimation() { void setNullAnimation() { Loading services/core/java/com/android/server/wm/WindowState.java +1 −1 Original line number Original line Diff line number Diff line Loading @@ -1497,7 +1497,7 @@ class WindowState extends WindowContainer<WindowState> implements WindowManagerP // TODO: Another visibility method that was added late in the release to minimize risk. // TODO: Another visibility method that was added late in the release to minimize risk. @Override @Override public boolean canAffectSystemUiFlags() { public boolean canAffectSystemUiFlags() { final boolean shown = mWinAnimator.getShown(); final boolean shown = mWinAnimator.getShown() && mWinAnimator.mShownAlpha > 0f; // We only consider the app to be exiting when the animation has started. After the app // We only consider the app to be exiting when the animation has started. After the app // transition is executed the windows are marked exiting before the new windows have been // transition is executed the windows are marked exiting before the new windows have been Loading Loading
services/core/java/com/android/server/wm/AppWindowAnimator.java +2 −2 Original line number Original line Diff line number Diff line Loading @@ -148,7 +148,7 @@ public class AppWindowAnimator { } } // Start out animation gone if window is gone, or visible if window is visible. // Start out animation gone if window is gone, or visible if window is visible. transformation.clear(); transformation.clear(); transformation.setAlpha(mAppToken.hasContentToDisplay() ? 1 : 0); transformation.setAlpha(mAppToken.isVisible() ? 1 : 0); hasTransformation = true; hasTransformation = true; mStackClip = stackClip; mStackClip = stackClip; Loading @@ -172,7 +172,7 @@ public class AppWindowAnimator { animation = sDummyAnimation; animation = sDummyAnimation; hasTransformation = true; hasTransformation = true; transformation.clear(); transformation.clear(); transformation.setAlpha(mAppToken.hasContentToDisplay() ? 1 : 0); transformation.setAlpha(mAppToken.isVisible() ? 1 : 0); } } void setNullAnimation() { void setNullAnimation() { Loading
services/core/java/com/android/server/wm/WindowState.java +1 −1 Original line number Original line Diff line number Diff line Loading @@ -1497,7 +1497,7 @@ class WindowState extends WindowContainer<WindowState> implements WindowManagerP // TODO: Another visibility method that was added late in the release to minimize risk. // TODO: Another visibility method that was added late in the release to minimize risk. @Override @Override public boolean canAffectSystemUiFlags() { public boolean canAffectSystemUiFlags() { final boolean shown = mWinAnimator.getShown(); final boolean shown = mWinAnimator.getShown() && mWinAnimator.mShownAlpha > 0f; // We only consider the app to be exiting when the animation has started. After the app // We only consider the app to be exiting when the animation has started. After the app // transition is executed the windows are marked exiting before the new windows have been // transition is executed the windows are marked exiting before the new windows have been Loading