From 13b16060f3d0d9fba74a784f1fa8e8dcb380457f Mon Sep 17 00:00:00 2001 From: Vinit Nayak Date: Tue, 3 May 2022 15:35:34 -0700 Subject: [PATCH] Don't fade out live tile when dismissed * Fading out exposes the wallpaper underneath since the task is layered below launcher and we draw a cutout in the scrim Fixes: 230916221 Test: Swiping up on live tile task doesn't fade Change-Id: Ie4a81aeed3de242146248ecae7734e5e02985040 --- quickstep/src/com/android/quickstep/views/RecentsView.java | 7 ------- 1 file changed, 7 deletions(-) diff --git a/quickstep/src/com/android/quickstep/views/RecentsView.java b/quickstep/src/com/android/quickstep/views/RecentsView.java index 224c1f6c75..72f422128f 100644 --- a/quickstep/src/com/android/quickstep/views/RecentsView.java +++ b/quickstep/src/com/android/quickstep/views/RecentsView.java @@ -2704,13 +2704,6 @@ public abstract class RecentsView { - TransformParams params = remoteTargetHandle.getTransformParams(); - anim.setFloat(params, TransformParams.TARGET_ALPHA, 0, - clampToProgress(FINAL_FRAME, 0, 0.5f)); - }); - } anim.setFloat(taskView, VIEW_ALPHA, 0, clampToProgress(isOnGridBottomRow(taskView) ? ACCEL : FINAL_FRAME, 0, 0.5f)); FloatProperty secondaryViewTranslate =