From 7167c3f3c962f328b477736e089f167263fe5298 Mon Sep 17 00:00:00 2001 From: zakcohen Date: Tue, 4 May 2021 13:56:34 -0700 Subject: [PATCH] Make overview color tinting work properly. Bug: 179922117 Test: Local Change-Id: I0b6620be8184bab836ed91d087739df57817eb37 --- quickstep/src/com/android/quickstep/views/TaskView.java | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/quickstep/src/com/android/quickstep/views/TaskView.java b/quickstep/src/com/android/quickstep/views/TaskView.java index 45bcdc314b..08f5879301 100644 --- a/quickstep/src/com/android/quickstep/views/TaskView.java +++ b/quickstep/src/com/android/quickstep/views/TaskView.java @@ -1417,9 +1417,10 @@ public class TaskView extends FrameLayout implements Reusable { } private void setColorTint(float amount) { - mSnapshotView.setDimAlpha(amount); - mIconView.setIconColorTint(mTintingColor, amount); - mDigitalWellBeingToast.setBannerColorTint(mTintingColor, amount); + mTintAmount = amount; + mSnapshotView.setDimAlpha(mTintAmount); + mIconView.setIconColorTint(mTintingColor, mTintAmount); + mDigitalWellBeingToast.setBannerColorTint(mTintingColor, mTintAmount); } private float getColorTint() {