From abeae4241b0856a29803ff9745b39867f1866bce Mon Sep 17 00:00:00 2001 From: vinayjoglekar Date: Mon, 12 May 2025 12:04:33 +0100 Subject: [PATCH] Fix live tile blur when overview blur flag is off "applyDepthAndBlur" should be directly called when Opaqueness changes. When scrim is not opaque, blur should be applied to overview background and when scrimview is fully opaque, blur should be removed and set to 0. Fix: 416686314 Test: Go to overview (live tile) when flag is off. Flag: com.android.launcher3.enable_overview_background_wallpaper_blur Change-Id: Iaad158ddb2f6dc89afefcd89a569a202a712ad47 --- .../com/android/launcher3/statehandlers/DepthController.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/quickstep/src/com/android/launcher3/statehandlers/DepthController.java b/quickstep/src/com/android/launcher3/statehandlers/DepthController.java index 3cea864c9e..ad57aede98 100644 --- a/quickstep/src/com/android/launcher3/statehandlers/DepthController.java +++ b/quickstep/src/com/android/launcher3/statehandlers/DepthController.java @@ -53,7 +53,7 @@ public class DepthController extends BaseDepthController implements StateHandler private final Consumer mCrossWindowBlurListener = this::setCrossWindowBlursEnabled; - private final Runnable mOpaquenessListener = this::onBlurChange; + private final Runnable mOpaquenessListener = this::applyDepthAndBlur; // Workaround for animating the depth when multiwindow mode changes. private boolean mIgnoreStateChangesDuringMultiWindowAnimation = false;