Merge changes from topic "presubmit-am-77a112383a4743c3a21b2621a549dd36" into sc-v2-dev-plus-aosp
* changes:
[automerge] Skip to set the background color of TDA during Animation with a transparent color. 2p: 71b275689f
Skip to set the background color of TDA during Animation with a transparent color.
This commit is contained in:
committed by
Android (Google) Code Review
commit
3f86aa4948
@@ -70,6 +70,7 @@ import android.annotation.Nullable;
|
||||
import android.content.Context;
|
||||
import android.content.pm.ActivityInfo;
|
||||
import android.content.res.Configuration;
|
||||
import android.graphics.Color;
|
||||
import android.graphics.Point;
|
||||
import android.graphics.Rect;
|
||||
import android.os.Debug;
|
||||
@@ -3563,7 +3564,7 @@ class WindowContainer<E extends WindowContainer> extends ConfigurationContainer<
|
||||
private void setTaskBackgroundColor(@ColorInt int backgroundColor) {
|
||||
TaskDisplayArea taskDisplayArea = getTaskDisplayArea();
|
||||
|
||||
if (taskDisplayArea != null) {
|
||||
if (taskDisplayArea != null && backgroundColor != Color.TRANSPARENT) {
|
||||
taskDisplayArea.setBackgroundColor(backgroundColor);
|
||||
|
||||
// Atomic counter to make sure the clearColor callback is only called one.
|
||||
|
||||
Reference in New Issue
Block a user