Merge "Restrict TaskDisplayArea background color setting to tasks with fullscreen windowing mode."
This commit is contained in:
@@ -2998,7 +2998,7 @@ class WindowContainer<E extends WindowContainer> extends ConfigurationContainer<
|
||||
|
||||
AnimationRunnerBuilder animationRunnerBuilder = new AnimationRunnerBuilder();
|
||||
|
||||
if (isTaskTransitOld(transit)) {
|
||||
if (isTaskTransitOld(transit) && getWindowingMode() == WINDOWING_MODE_FULLSCREEN) {
|
||||
animationRunnerBuilder.setTaskBackgroundColor(getTaskAnimationBackgroundColor());
|
||||
// TODO: Remove when we migrate to shell (b/202383002)
|
||||
if (mWmService.mTaskTransitionSpec != null) {
|
||||
|
||||
Reference in New Issue
Block a user