Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 15789cf0 authored by Yuncheol Heo's avatar Yuncheol Heo Committed by Presubmit Automerger Backend
Browse files

[automerge] Skip to set the background color of TDA during Animation with a...

[automerge] Skip to set the background color of TDA during Animation with a transparent color. 2p: 71b27568

Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/17074337

Bug: 222153339
Change-Id: I80bdc10116689d19b7bb458cbdcbea93d0509539
parents 4bbbeefb 71b27568
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -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.